You are here

public function KernelTestBase::getDatabasePrefix in Drupal 8

Same name and namespace in other branches
  1. 9 core/tests/Drupal/KernelTests/KernelTestBase.php \Drupal\KernelTests\KernelTestBase::getDatabasePrefix()

Return value

string

1 call to KernelTestBase::getDatabasePrefix()
SchemaTest::testSchema in core/tests/Drupal/KernelTests/Core/Database/SchemaTest.php
Tests database interactions.

File

core/tests/Drupal/KernelTests/KernelTestBase.php, line 320

Class

KernelTestBase
Base class for functional integration tests.

Namespace

Drupal\KernelTests

Code

public function getDatabasePrefix() {
  return $this->databasePrefix;
}