diff --git a/core/tests/Drupal/KernelTests/KernelTestBaseTest.php b/core/tests/Drupal/KernelTests/KernelTestBaseTest.php index 11ced18..ec15ff2 100644 --- a/core/tests/Drupal/KernelTests/KernelTestBaseTest.php +++ b/core/tests/Drupal/KernelTests/KernelTestBaseTest.php @@ -28,7 +28,7 @@ public function ptestSetUpBeforeClass() { /** * @covers ::bootEnvironment */ - public function ptestBootEnvironment() { + public function testBootEnvironment() { $this->assertRegExp('/^simpletest\d{6}$/', $this->databasePrefix); $this->assertStringStartsWith('vfs://root/sites/simpletest/', $this->siteDirectory); $this->assertEquals(array( @@ -52,7 +52,7 @@ public function ptestBootEnvironment() { /** * @covers ::getDatabaseConnectionInfo */ - public function ptestGetDatabaseConnectionInfoWithOutManualSetDbUrl() { + public function testGetDatabaseConnectionInfoWithOutManualSetDbUrl() { $options = $this->container->get('database')->getConnectionOptions(); $this->assertSame($this->databasePrefix, $options['prefix']['default']); } @@ -60,7 +60,7 @@ public function ptestGetDatabaseConnectionInfoWithOutManualSetDbUrl() { /** * @covers ::setUp */ - public function ptestSetUp() { + public function testSetUp() { $this->assertTrue($this->container->has('request_stack')); $this->assertTrue($this->container->initialized('request_stack')); $request = $this->container->get('request_stack')->getCurrentRequest(); @@ -91,7 +91,7 @@ public function ptestSetUp() { * @covers ::setUp * @depends testSetUp */ - public function ptestSetUpDoesNotLeak() { + public function testSetUpDoesNotLeak() { $this->assertArrayNotHasKey('destroy-me', $GLOBALS); // Ensure that we have a different database prefix. @@ -102,7 +102,7 @@ public function ptestSetUpDoesNotLeak() { /** * @covers ::register */ - public function ptestRegister() { + public function testRegister() { // Verify that this container is identical to the actual container. $this->assertInstanceOf('Symfony\Component\DependencyInjection\ContainerInterface', $this->container); $this->assertSame($this->container, \Drupal::getContainer()); @@ -137,7 +137,7 @@ public function ptestRegister() { * * The point of this test is to have integration level testing. */ - public function ptestCompiledContainer() { + public function testCompiledContainer() { $this->enableModules(['system', 'user']); $this->assertNull($this->installConfig('user')); } @@ -148,7 +148,7 @@ public function ptestCompiledContainer() { * * The point of this test is to have integration level testing. */ - public function ptestCompiledContainerIsDestructed() { + public function testCompiledContainerIsDestructed() { $this->enableModules(['system', 'user']); $this->assertNull($this->installConfig('user')); } @@ -156,7 +156,7 @@ public function ptestCompiledContainerIsDestructed() { /** * @covers ::render */ - public function ptestRender() { + public function testRender() { $type = 'processed_text'; $element_info = $this->container->get('element_info'); $this->assertSame(['#defaults_loaded' => TRUE], $element_info->getInfo($type));