class TestSiteApplicationTest

Same name in this branch
  1. 11.x core/tests/Drupal/Tests/Scripts/TestSiteApplicationTest.php \Drupal\Tests\Scripts\TestSiteApplicationTest
Same name in other branches
  1. 9 core/tests/Drupal/Tests/Scripts/TestSiteApplicationTest.php \Drupal\Tests\Scripts\TestSiteApplicationTest
  2. 8.9.x core/tests/Drupal/Tests/Scripts/TestSiteApplicationTest.php \Drupal\Tests\Scripts\TestSiteApplicationTest
  3. 10 core/tests/Drupal/Tests/Scripts/TestSiteApplicationTest.php \Drupal\Tests\Scripts\TestSiteApplicationTest

Tests core/scripts/test-site.php.

This test uses the Drupal\Core\Database\Database class which has a static, and the CI database services. Therefore it is defined as KernelTest so that it can also run in a separate process to avoid side effects.

@group Setup @group #slow @preserveGlobalState disabled

Hierarchy

Expanded class hierarchy of TestSiteApplicationTest

See also

\Drupal\TestSite\TestSiteApplication

\Drupal\TestSite\Commands\TestSiteInstallCommand

\Drupal\TestSite\Commands\TestSiteTearDownCommand

File

core/tests/Drupal/KernelTests/Scripts/TestSiteApplicationTest.php, line 33

Namespace

Drupal\KernelTests\Scripts
View source
class TestSiteApplicationTest extends KernelTestBase {
    
    /**
     * The PHP executable path.
     *
     * @var string
     */
    protected $php;
    
    /**
     * {@inheritdoc}
     */
    protected function setUp() : void {
        parent::setUp();
        $php_executable_finder = new PhpExecutableFinder();
        $this->php = $php_executable_finder->find();
    }
    
    /**
     * @coversNothing
     */
    public function testInstallWithNonExistingFile() : void {
        $command_line = $this->php . ' core/scripts/test-site.php install --setup-file "this-class-does-not-exist" --db-url "' . getenv('SIMPLETEST_DB') . '"';
        $process = Process::fromShellCommandline($command_line, $this->root);
        $process->run();
        $this->assertStringContainsString('The file this-class-does-not-exist does not exist.', $process->getErrorOutput());
    }
    
    /**
     * @coversNothing
     */
    public function testInstallWithFileWithNoClass() : void {
        $command_line = $this->php . ' core/scripts/test-site.php install --setup-file core/tests/fixtures/empty_file.php.module --db-url "' . getenv('SIMPLETEST_DB') . '"';
        $process = Process::fromShellCommandline($command_line, $this->root);
        $process->run();
        $this->assertStringContainsString('The file core/tests/fixtures/empty_file.php.module does not contain a class', $process->getErrorOutput());
    }
    
    /**
     * @coversNothing
     */
    public function testInstallWithNonSetupClass() : void {
        $this->markTestIncomplete('Fix this test in https://www.drupal.org/project/drupal/issues/2962157.');
        // Use __FILE__ to test absolute paths.
        $command_line = $this->php . ' core/scripts/test-site.php install --setup-file "' . __FILE__ . '" --db-url "' . getenv('SIMPLETEST_DB') . '"';
        $process = Process::fromShellCommandline($command_line, $this->root, [
            'COLUMNS' => PHP_INT_MAX,
        ]);
        $process->run();
        $this->assertStringContainsString('The class Drupal\\KernelTests\\Scripts\\TestSiteApplicationTest contained in', $process->getErrorOutput());
        $this->assertStringContainsString('needs to implement \\Drupal\\TestSite\\TestSetupInterface', $process->getErrorOutput());
    }
    
    /**
     * @coversNothing
     */
    public function testInstallScript() : void {
        $simpletest_path = $this->root . DIRECTORY_SEPARATOR . 'sites' . DIRECTORY_SEPARATOR . 'simpletest';
        // Install a site using the JSON output.
        $command_line = $this->php . ' core/scripts/test-site.php install --json --setup-file core/tests/Drupal/TestSite/TestSiteInstallTestScript.php --db-url "' . getenv('SIMPLETEST_DB') . '"';
        $process = Process::fromShellCommandline($command_line, $this->root);
        // Set the timeout to a value that allows debugging.
        $process->setTimeout(500);
        $process->run();
        $this->assertSame(0, $process->getExitCode());
        $result = json_decode($process->getOutput(), TRUE);
        $db_prefix = $result['db_prefix'];
        $this->assertStringStartsWith('simpletest' . substr($db_prefix, 4) . ':', $result['user_agent']);
        $http_client = new Client();
        $request = (new Request('GET', getenv('SIMPLETEST_BASE_URL') . '/test-page'))->withHeader('User-Agent', trim($result['user_agent']));
        $response = $http_client->send($request);
        // Ensure the test_page_test module got installed.
        $this->assertStringContainsString('Test page | Drupal', (string) $response->getBody());
        // Ensure that there are files and database tables for the tear down command
        // to clean up.
        $key = $this->addTestDatabase($db_prefix);
        $this->assertGreaterThan(0, count(Database::getConnection('default', $key)->schema()
            ->findTables('%')));
        $test_database = new TestDatabase($db_prefix);
        $test_file = $this->root . DIRECTORY_SEPARATOR . $test_database->getTestSitePath() . DIRECTORY_SEPARATOR . '.htkey';
        $this->assertFileExists($test_file);
        // Ensure the lock file exists.
        $this->assertFileExists($this->getTestLockFile($db_prefix));
        // Install another site so we can ensure the tear down command only removes
        // one site at a time. Use the regular output.
        $command_line = $this->php . ' core/scripts/test-site.php install --setup-file core/tests/Drupal/TestSite/TestSiteInstallTestScript.php --db-url "' . getenv('SIMPLETEST_DB') . '"';
        $process = Process::fromShellCommandline($command_line, $this->root);
        // Set the timeout to a value that allows debugging.
        $process->setTimeout(500);
        $process->run();
        $this->assertStringContainsString('Successfully installed a test site', $process->getOutput());
        $this->assertSame(0, $process->getExitCode());
        $regex = '/Database prefix\\s+([^\\s]*)/';
        $this->assertMatchesRegularExpression($regex, $process->getOutput());
        preg_match('/Database prefix\\s+([^\\s]*)/', $process->getOutput(), $matches);
        $other_db_prefix = $matches[1];
        $other_key = $this->addTestDatabase($other_db_prefix);
        $this->assertGreaterThan(0, count(Database::getConnection('default', $other_key)->schema()
            ->findTables('%')));
        // Ensure the lock file exists for the new install.
        $this->assertFileExists($this->getTestLockFile($other_db_prefix));
        // Now test the tear down process as well, but keep the lock.
        $command_line = $this->php . ' core/scripts/test-site.php tear-down ' . $db_prefix . ' --keep-lock --db-url "' . getenv('SIMPLETEST_DB') . '"';
        $process = Process::fromShellCommandline($command_line, $this->root);
        // Set the timeout to a value that allows debugging.
        $process->setTimeout(500);
        $process->run();
        $this->assertSame(0, $process->getExitCode());
        $this->assertStringContainsString("Successfully uninstalled {$db_prefix} test site", $process->getOutput());
        // Ensure that all the tables and files for this DB prefix are gone.
        $this->assertCount(0, Database::getConnection('default', $key)->schema()
            ->findTables('%'));
        $this->assertFileDoesNotExist($test_file);
        // Ensure the other site's tables and files still exist.
        $this->assertGreaterThan(0, count(Database::getConnection('default', $other_key)->schema()
            ->findTables('%')));
        $test_database = new TestDatabase($other_db_prefix);
        $test_file = $this->root . DIRECTORY_SEPARATOR . $test_database->getTestSitePath() . DIRECTORY_SEPARATOR . '.htkey';
        $this->assertFileExists($test_file);
        // Tear down the other site. Tear down should work if the test site is
        // broken. Prove this by removing its settings.php.
        $test_site_settings = $this->root . DIRECTORY_SEPARATOR . $test_database->getTestSitePath() . DIRECTORY_SEPARATOR . 'settings.php';
        $this->assertTrue(unlink($test_site_settings));
        $command_line = $this->php . ' core/scripts/test-site.php tear-down ' . $other_db_prefix . ' --db-url "' . getenv('SIMPLETEST_DB') . '"';
        $process = Process::fromShellCommandline($command_line, $this->root);
        // Set the timeout to a value that allows debugging.
        $process->setTimeout(500);
        $process->run();
        $this->assertSame(0, $process->getExitCode());
        $this->assertStringContainsString("Successfully uninstalled {$other_db_prefix} test site", $process->getOutput());
        // Ensure that all the tables and files for this DB prefix are gone.
        $this->assertCount(0, Database::getConnection('default', $other_key)->schema()
            ->findTables('%'));
        $this->assertFileDoesNotExist($test_file);
        // The lock for the first site should still exist but the second site's lock
        // is released during tear down.
        $this->assertFileExists($this->getTestLockFile($db_prefix));
        $this->assertFileDoesNotExist($this->getTestLockFile($other_db_prefix));
    }
    
    /**
     * @coversNothing
     */
    public function testInstallInDifferentLanguage() : void {
        $simpletest_path = $this->root . DIRECTORY_SEPARATOR . 'sites' . DIRECTORY_SEPARATOR . 'simpletest';
        $command_line = $this->php . ' core/scripts/test-site.php install --json --langcode fr --setup-file core/tests/Drupal/TestSite/TestSiteMultilingualInstallTestScript.php --db-url "' . getenv('SIMPLETEST_DB') . '"';
        $process = Process::fromShellCommandline($command_line, $this->root);
        $process->setTimeout(500);
        $process->run();
        $this->assertEquals(0, $process->getExitCode());
        $result = json_decode($process->getOutput(), TRUE);
        $db_prefix = $result['db_prefix'];
        $http_client = new Client();
        $request = (new Request('GET', getenv('SIMPLETEST_BASE_URL') . '/test-page'))->withHeader('User-Agent', trim($result['user_agent']));
        $response = $http_client->send($request);
        // Ensure the test_page_test module got installed.
        $this->assertStringContainsString('Test page | Drupal', (string) $response->getBody());
        $this->assertStringContainsString('lang="fr"', (string) $response->getBody());
        // Now test the tear down process as well.
        $command_line = $this->php . ' core/scripts/test-site.php tear-down ' . $db_prefix . ' --db-url "' . getenv('SIMPLETEST_DB') . '"';
        $process = Process::fromShellCommandline($command_line, $this->root);
        $process->setTimeout(500);
        $process->run();
        $this->assertSame(0, $process->getExitCode());
        // Ensure that all the tables for this DB prefix are gone.
        $this->assertCount(0, Database::getConnection('default', $this->addTestDatabase($db_prefix))
            ->schema()
            ->findTables('%'));
    }
    
    /**
     * @coversNothing
     */
    public function testTearDownDbPrefixValidation() : void {
        $command_line = $this->php . ' core/scripts/test-site.php tear-down not-a-valid-prefix';
        $process = Process::fromShellCommandline($command_line, $this->root);
        $process->setTimeout(500);
        $process->run();
        $this->assertSame(1, $process->getExitCode());
        $this->assertStringContainsString('Invalid database prefix: not-a-valid-prefix', $process->getErrorOutput());
    }
    
    /**
     * @coversNothing
     */
    public function testUserLogin() : void {
        $this->markTestIncomplete('Fix this test in https://www.drupal.org/project/drupal/issues/2962157.');
        $simpletest_path = $this->root . DIRECTORY_SEPARATOR . 'sites' . DIRECTORY_SEPARATOR . 'simpletest';
        // Install a site using the JSON output.
        $command_line = $this->php . ' core/scripts/test-site.php install --json --setup-file core/tests/Drupal/TestSite/TestSiteInstallTestScript.php --db-url "' . getenv('SIMPLETEST_DB') . '"';
        $process = Process::fromShellCommandline($command_line, $this->root);
        // Set the timeout to a value that allows debugging.
        $process->setTimeout(500);
        $process->run();
        $this->assertSame(0, $process->getExitCode());
        $result = json_decode($process->getOutput(), TRUE);
        $db_prefix = $result['db_prefix'];
        $site_path = $result['site_path'];
        $this->assertSame('sites/simpletest/' . str_replace('test', '', $db_prefix), $site_path);
        // Test the user login command with valid uid.
        $command_line = $this->php . ' core/scripts/test-site.php user-login 1 --site-path ' . $site_path;
        $process = Process::fromShellCommandline($command_line, $this->root);
        $process->run();
        $this->assertSame(0, $process->getExitCode());
        $this->assertStringContainsString('/user/reset/1/', $process->getOutput());
        $http_client = new Client();
        $request = (new Request('GET', getenv('SIMPLETEST_BASE_URL') . trim($process->getOutput())))
            ->withHeader('User-Agent', trim($result['user_agent']));
        $response = $http_client->send($request);
        // Ensure the response sets a new session.
        $this->assertTrue($response->getHeader('Set-Cookie'));
        // Test the user login command with invalid uid.
        $command_line = $this->php . ' core/scripts/test-site.php user-login invalid-uid --site-path ' . $site_path;
        $process = Process::fromShellCommandline($command_line, $this->root);
        $process->run();
        $this->assertSame(1, $process->getExitCode());
        $this->assertStringContainsString('The "uid" argument needs to be an integer, but it is "invalid-uid".', $process->getErrorOutput());
        // Now tear down the test site.
        $command_line = $this->php . ' core/scripts/test-site.php tear-down ' . $db_prefix . ' --db-url "' . getenv('SIMPLETEST_DB') . '"';
        $process = Process::fromShellCommandline($command_line, $this->root);
        // Set the timeout to a value that allows debugging.
        $process->setTimeout(500);
        $process->run();
        $this->assertSame(0, $process->getExitCode());
        $this->assertStringContainsString("Successfully uninstalled {$db_prefix} test site", $process->getOutput());
    }
    
    /**
     * Adds the installed test site to the database connection info.
     *
     * @param string $db_prefix
     *   The prefix of the installed test site.
     *
     * @return string
     *   The database key of the added connection.
     */
    protected function addTestDatabase($db_prefix) : string {
        $database = Database::convertDbUrlToConnectionInfo(getenv('SIMPLETEST_DB'), $this->root);
        $database['prefix'] = $db_prefix;
        $target = __CLASS__ . $db_prefix;
        Database::addConnectionInfo($target, 'default', $database);
        return $target;
    }
    
    /**
     * Gets the lock file path.
     *
     * @param string $db_prefix
     *   The prefix of the installed test site.
     *
     * @return string
     *   The lock file path.
     */
    protected function getTestLockFile($db_prefix) : string {
        $lock_id = str_replace('test', '', $db_prefix);
        return FileSystem::getOsTemporaryDirectory() . '/test_' . $lock_id;
    }

}

Members

Title Sort descending Deprecated Modifiers Object type Summary Overriden Title Overrides
AssertContentTrait::$content protected property The current raw content.
AssertContentTrait::$drupalSettings protected property The drupalSettings value from the current raw $content.
AssertContentTrait::$elements protected property The XML structure parsed from the current raw $content. 1
AssertContentTrait::$plainTextContent protected property The plain-text content of raw $content (text nodes).
AssertContentTrait::assertEscaped protected function Passes if the raw text IS found escaped on the loaded page, fail otherwise.
AssertContentTrait::assertField protected function Asserts that a field exists with the given name or ID.
AssertContentTrait::assertFieldById Deprecated protected function Asserts that a field exists with the given ID and value.
AssertContentTrait::assertFieldByName protected function Asserts that a field exists with the given name and value.
AssertContentTrait::assertFieldByXPath protected function Asserts that a field exists in the current page by the given XPath.
AssertContentTrait::assertFieldChecked Deprecated protected function Asserts that a checkbox field in the current page is checked.
AssertContentTrait::assertFieldsByValue protected function Asserts that a field exists in the current page with a given Xpath result.
AssertContentTrait::assertLink protected function Passes if a link with the specified label is found.
AssertContentTrait::assertLinkByHref protected function Passes if a link containing a given href (part) is found.
AssertContentTrait::assertNoDuplicateIds Deprecated protected function Asserts that each HTML ID is used for just a single element.
AssertContentTrait::assertNoEscaped protected function Passes if raw text IS NOT found escaped on loaded page, fail otherwise.
AssertContentTrait::assertNoField Deprecated protected function Asserts that a field does not exist with the given name or ID.
AssertContentTrait::assertNoFieldById Deprecated protected function Asserts that a field does not exist with the given ID and value.
AssertContentTrait::assertNoFieldByName Deprecated protected function Asserts that a field does not exist with the given name and value.
AssertContentTrait::assertNoFieldByXPath Deprecated protected function Asserts that a field does not exist or its value does not match, by XPath.
AssertContentTrait::assertNoFieldChecked Deprecated protected function Asserts that a checkbox field in the current page is not checked.
AssertContentTrait::assertNoLink protected function Passes if a link with the specified label is not found.
AssertContentTrait::assertNoLinkByHref Deprecated protected function Passes if a link containing a given href (part) is not found.
AssertContentTrait::assertNoLinkByHrefInMainRegion Deprecated protected function Passes if a link containing a given href is not found in the main region.
AssertContentTrait::assertNoOption Deprecated protected function Asserts that a select option in the current page does not exist.
AssertContentTrait::assertNoOptionSelected Deprecated protected function Asserts that a select option in the current page is not checked.
AssertContentTrait::assertNoPattern protected function Triggers a pass if the perl regex pattern is not found in raw content.
AssertContentTrait::assertNoRaw protected function Passes if the raw text is NOT found on the loaded page, fail otherwise.
AssertContentTrait::assertNoText protected function Passes if the page (with HTML stripped) does not contains the text.
AssertContentTrait::assertNoTitle protected function Pass if the page title is not the given string.
AssertContentTrait::assertNoUniqueText Deprecated protected function Passes if the text is found MORE THAN ONCE on the text version of the page.
AssertContentTrait::assertOption protected function Asserts that a select option in the current page exists.
AssertContentTrait::assertOptionByText Deprecated protected function Asserts that a select option with the visible text exists.
AssertContentTrait::assertOptionSelected Deprecated protected function Asserts that a select option in the current page is checked.
AssertContentTrait::assertOptionSelectedWithDrupalSelector Deprecated protected function Asserts that a select option in the current page is checked.
AssertContentTrait::assertOptionWithDrupalSelector protected function Asserts that a select option in the current page exists.
AssertContentTrait::assertPattern protected function Triggers a pass if the Perl regex pattern is found in the raw content.
AssertContentTrait::assertRaw protected function Passes if the raw text IS found on the loaded page, fail otherwise.
AssertContentTrait::assertText protected function Passes if the page (with HTML stripped) contains the text.
AssertContentTrait::assertTextHelper protected function Helper for assertText and assertNoText.
AssertContentTrait::assertTextPattern Deprecated protected function Asserts that a Perl regex pattern is found in the plain-text content.
AssertContentTrait::assertThemeOutput protected function Asserts themed output.
AssertContentTrait::assertTitle protected function Pass if the page title is the given string.
AssertContentTrait::assertUniqueText Deprecated protected function Passes if the text is found ONLY ONCE on the text version of the page.
AssertContentTrait::assertUniqueTextHelper Deprecated protected function Helper for assertUniqueText and assertNoUniqueText.
AssertContentTrait::buildXPathQuery protected function Builds an XPath query.
AssertContentTrait::constructFieldXpath protected function Helper: Constructs an XPath for the given set of attributes and value.
AssertContentTrait::cssSelect protected function Searches elements using a CSS selector in the raw content.
AssertContentTrait::getAllOptions protected function Get all option elements, including nested options, in a select.
AssertContentTrait::getDrupalSettings protected function Gets the value of drupalSettings for the currently-loaded page.
AssertContentTrait::getRawContent protected function Gets the current raw content.
AssertContentTrait::getSelectedItem protected function Get the selected value from a select field.
AssertContentTrait::getTextContent protected function Retrieves the plain-text content from the current raw content.
AssertContentTrait::parse protected function Parse content returned from curlExec using DOM and SimpleXML.
AssertContentTrait::removeWhiteSpace protected function Removes all white-space between HTML tags from the raw content.
AssertContentTrait::setDrupalSettings protected function Sets the value of drupalSettings for the currently-loaded page.
AssertContentTrait::setRawContent protected function Sets the raw content (e.g. HTML).
AssertContentTrait::xpath protected function Performs an xpath search on the contents of the internal browser.
ConfigTestTrait::configImporter protected function Returns a ConfigImporter object to import test configuration.
ConfigTestTrait::copyConfig protected function Copies configuration objects from source storage to target storage.
ExpectDeprecationTrait::expectDeprecation public function Adds an expected deprecation.
ExpectDeprecationTrait::getCallableName private static function Returns a callable as a string suitable for inclusion in a message.
ExpectDeprecationTrait::setUpErrorHandler public function Sets up the test error handler.
ExpectDeprecationTrait::tearDownErrorHandler public function Tears down the test error handler.
ExtensionListTestTrait::getModulePath protected function Gets the path for the specified module.
ExtensionListTestTrait::getThemePath protected function Gets the path for the specified theme.
KernelTestBase::$backupStaticAttributes protected property Back up and restore static class properties that may be changed by tests.
KernelTestBase::$backupStaticAttributesBlacklist protected property Contains a few static class properties for performance.
KernelTestBase::$classLoader protected property
KernelTestBase::$configImporter protected property @todo Move into Config test base class. 6
KernelTestBase::$configSchemaCheckerExclusions protected static property An array of config object names that are excluded from schema checking. 4
KernelTestBase::$container protected property
KernelTestBase::$databasePrefix protected property
KernelTestBase::$keyValue protected property The key_value service that must persist between container rebuilds.
KernelTestBase::$modules protected static property Modules to install. 568
KernelTestBase::$root protected property The app root.
KernelTestBase::$siteDirectory protected property
KernelTestBase::$strictConfigSchema protected property Set to TRUE to strict check all configuration saved. 9
KernelTestBase::$usesSuperUserAccessPolicy protected property Set to TRUE to make user 1 a super user. 2
KernelTestBase::$vfsRoot protected property The virtual filesystem root directory.
KernelTestBase::assertPostConditions protected function 1
KernelTestBase::bootEnvironment protected function Bootstraps a basic test environment.
KernelTestBase::bootKernel protected function Bootstraps a kernel for a test. 1
KernelTestBase::config protected function Configuration accessor for tests. Returns non-overridden configuration.
KernelTestBase::disableModules protected function Disables modules for this test.
KernelTestBase::enableModules protected function Enables modules for this test. 2
KernelTestBase::getConfigSchemaExclusions protected function Gets the config schema exclusions for this test.
KernelTestBase::getDatabaseConnectionInfo protected function Returns the Database connection info to be used for this test. 2
KernelTestBase::getDatabasePrefix public function
KernelTestBase::getExtensionsForModules private function Returns Extension objects for $modules to install.
KernelTestBase::getModulesToEnable private static function Returns the modules to install for this test.
KernelTestBase::initFileCache protected function Initializes the FileCache component.
KernelTestBase::installConfig protected function Installs default configuration for a given list of modules.
KernelTestBase::installEntitySchema protected function Installs the storage schema for a specific entity type.
KernelTestBase::installSchema protected function Installs database tables from a module schema definition.
KernelTestBase::register public function Registers test-specific services. Overrides ServiceProviderInterface::register 28
KernelTestBase::render protected function Renders a render array. 1
KernelTestBase::setInstallProfile protected function Sets the install profile and rebuilds the container to update it.
KernelTestBase::setSetting protected function Sets an in-memory Settings variable.
KernelTestBase::setUpBeforeClass public static function
KernelTestBase::setUpFilesystem protected function Sets up the filesystem, so things like the file directory. 3
KernelTestBase::tearDown protected function 7
KernelTestBase::tearDownCloseDatabaseConnection public function Additional tear down method to close the connection at the end.
KernelTestBase::vfsDump protected function Dumps the current state of the virtual filesystem to STDOUT.
KernelTestBase::__construct public function
KernelTestBase::__sleep public function Prevents serializing any properties.
RandomGeneratorTrait::getRandomGenerator protected function Gets the random generator for the utility methods.
RandomGeneratorTrait::randomMachineName protected function Generates a unique random string containing letters and numbers.
RandomGeneratorTrait::randomObject public function Generates a random PHP object.
RandomGeneratorTrait::randomString public function Generates a pseudo-random string of ASCII characters of codes 32 to 126.
StorageCopyTrait::replaceStorageContents protected static function Copy the configuration from one storage to another and remove stale items.
TestRequirementsTrait::getDrupalRoot protected static function Returns the Drupal root directory.
TestSiteApplicationTest::$php protected property The PHP executable path.
TestSiteApplicationTest::addTestDatabase protected function Adds the installed test site to the database connection info.
TestSiteApplicationTest::getTestLockFile protected function Gets the lock file path.
TestSiteApplicationTest::setUp protected function Overrides KernelTestBase::setUp
TestSiteApplicationTest::testInstallInDifferentLanguage public function @coversNothing
TestSiteApplicationTest::testInstallScript public function @coversNothing
TestSiteApplicationTest::testInstallWithFileWithNoClass public function @coversNothing
TestSiteApplicationTest::testInstallWithNonExistingFile public function @coversNothing
TestSiteApplicationTest::testInstallWithNonSetupClass public function @coversNothing
TestSiteApplicationTest::testTearDownDbPrefixValidation public function @coversNothing
TestSiteApplicationTest::testUserLogin public function @coversNothing

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.