diff --git a/core/tests/Drupal/KernelTests/Core/Database/DatabaseLegacyTest.php b/core/tests/Drupal/KernelTests/Core/Database/DatabaseLegacyTest.php index 7a29b34583..77ff4eea00 100644 --- a/core/tests/Drupal/KernelTests/Core/Database/DatabaseLegacyTest.php +++ b/core/tests/Drupal/KernelTests/Core/Database/DatabaseLegacyTest.php @@ -431,7 +431,7 @@ public function testDbTruncate() { /** * Tests deprecation of the $options 'target' key in Connection::query. * - * @expectedDeprecation Passing a 'target' key to Connection::query $options argument is deprecated in Drupal 8.0.x and will be removed before Drupal 9.0.0. Instead, get the target connection via Database::getConnection() passing the target in input and execute query() on it. https://www.drupal.org/node/2993033 + * @expectedDeprecation Passing a 'target' key to Connection::query $options argument is deprecated in Drupal 8.0.x and will be removed before Drupal 9.0.0. Instead, get the target connection via Database::getConnection() passing the target in input and execute query() on it. See https://www.drupal.org/node/2993033 */ public function testDbOptionsTarget() { $this->assertNotNull($this->connection->query('SELECT * FROM {test}', [], ['target' => 'bar']));