only in patch2: unchanged: --- a/core/modules/aggregator/tests/src/Functional/ImportOpmlTest.php +++ b/core/modules/aggregator/tests/src/Functional/ImportOpmlTest.php @@ -83,7 +83,7 @@ protected function submitImportForm() { $after = db_query('SELECT COUNT(*) FROM {aggregator_feed}')->fetchField(); $this->assertEqual($before, $after, 'No feeds were added during the two last form submissions.'); - db_delete('aggregator_feed')->execute(); + \Drupal::database()->delete('aggregator_feed')->execute(); $feeds[0] = $this->getFeedEditArray(); $feeds[1] = $this->getFeedEditArray(); only in patch2: unchanged: --- a/core/modules/dblog/src/Tests/DbLogTest.php +++ b/core/modules/dblog/src/Tests/DbLogTest.php @@ -602,7 +602,7 @@ public function testFilter() { $this->drupalLogin($this->adminUser); // Clear the log to ensure that only generated entries will be found. - db_delete('watchdog')->execute(); + \Drupal::database()->delete('watchdog')->execute(); // Generate 9 random watchdog entries. $type_names = []; only in patch2: unchanged: --- a/core/modules/tracker/tests/src/Functional/TrackerTest.php +++ b/core/modules/tracker/tests/src/Functional/TrackerTest.php @@ -365,9 +365,9 @@ public function testTrackerCronIndexing() { \Drupal::state()->set('tracker.index_nid', 3); // Clear the current tracker tables and rebuild them. - db_delete('tracker_node') + \Drupal::database()->delete('tracker_node') ->execute(); - db_delete('tracker_user') + \Drupal::database()->delete('tracker_user') ->execute(); tracker_cron();