Skip to content
Snippets Groups Projects

Resolve #3238915 "Refactor if feasible"

2 files
+ 7
0
Compare changes
  • Side-by-side
  • Inline
Files
2
  • d77a8607
    Issue #3248879 by alexpott: UpdatePathTestTrait doesn't test what it thinks it does · d77a8607
    catch authored
@@ -91,6 +91,12 @@ public function testUpdateHookN() {
\Drupal::state()->set('update_test_schema_version', 8001);
$this->runUpdates();
// Ensure that after running the updates the update functions have been
// loaded. If they have not then the tests carried out in
// \Drupal\Tests\UpdatePathTestTrait::runUpdates() can result in false
// positives.
$this->assertTrue(function_exists('update_test_semver_update_n_update_8001'), 'The update_test_semver_update_n_update_8001() has been loaded');
$select = $connection->select('watchdog');
$select->orderBy('wid', 'DESC');
$select->range(0, 5);
Loading