diff --git a/core/modules/simpletest/tests/src/Kernel/SimpletestDeprecationTest.php b/core/modules/simpletest/tests/src/Kernel/SimpletestDeprecationTest.php index b4fa77371f..384f8c1b9b 100644 --- a/core/modules/simpletest/tests/src/Kernel/SimpletestDeprecationTest.php +++ b/core/modules/simpletest/tests/src/Kernel/SimpletestDeprecationTest.php @@ -25,17 +25,4 @@ public function testDeprecatedFunctions() { simpletest_classloader_register(); } - /** - * Test deprecations for database-related functions. - * - * @expectedDeprecation simpletest_insert_assert is deprecated in Drupal 8.8.0 for removal before Drupal 9.0.0. Use \Drupal\Core\Test\TestDatabase::insertAssert() instead. See https://www.drupal.org/node/3075252 - * @expectedDeprecation simpletest_last_test_get is deprecated in Drupal 8.8.0 for removal before Drupal 9.0.0. Use \Drupal\Core\Test\TestDatabase::lastTestGet() instead. See https://www.drupal.org/node/3075252 - * @expectedDeprecation simpletest_log_read is deprecated in Drupal 8.8.0 for removal before Drupal 9.0.0. Use \Drupal\Core\Test\TestDatabase::logRead() instead. See https://www.drupal.org/node/3075252 - */ - public function testDeprecatedDbFunctions() { - $this->assertNull(simpletest_insert_assert(0, static::class, TRUE, 'This assertion was inserted by ' . __METHOD__)); - $this->assertInternalType('array', simpletest_last_test_get(0)); - $this->expectException(\InvalidArgumentException::class); - simpletest_log_read(0, 'this_prefix_does_not_exist', static::class); - } }