diff --git a/core/tests/Drupal/KernelTests/Core/Database/UpdateComplexTest.php b/core/tests/Drupal/KernelTests/Core/Database/UpdateComplexTest.php index 74eb0f1f03a388f67173a84c2a06535a4f790a3c..c2946d5c39687eff0d36fabb88d72777e7f5084f 100644 --- a/core/tests/Drupal/KernelTests/Core/Database/UpdateComplexTest.php +++ b/core/tests/Drupal/KernelTests/Core/Database/UpdateComplexTest.php @@ -89,7 +89,6 @@ function testLikeConditionUpdate() { */ function testUpdateExpression() { $before_age = db_query('SELECT age FROM {test} WHERE name = :name', array(':name' => 'Ringo'))->fetchField(); - $GLOBALS['larry_test'] = 1; $num_updated = db_update('test') ->condition('name', 'Ringo') ->fields(array('job' => 'Musician')) @@ -104,7 +103,6 @@ function testUpdateExpression() { $this->assertEqual($person->name, 'Ringo', 'Name set correctly.'); $this->assertEqual($person->age, $before_age + 4, 'Age set correctly.'); $this->assertEqual($person->job, 'Musician', 'Job set correctly.'); - $GLOBALS['larry_test'] = 0; } /**