You are here

protected function ControllerTest::getDatabasePrefix in MongoDB 8.2

Getter for the test database prefix.

Return value

string The prefix.

See also

\Drupal\KernelTests\KernelTestBase::getDatabasePrefix()

1 call to ControllerTest::getDatabasePrefix()
ControllerTest::getSettingsArray in modules/mongodb_watchdog/tests/src/Functional/ControllerTest.php
Prepare the Settings from a base set of MongoDB settings.

File

modules/mongodb_watchdog/tests/src/Functional/ControllerTest.php, line 272

Class

ControllerTest
Test the MongoDB report controllers.

Namespace

Drupal\Tests\mongodb_watchdog\Functional

Code

protected function getDatabasePrefix() : string {
  return $this->databasePrefix ?? '';
}