You are here

public function DatabaseFactoryTest::setUp in MongoDB 8.2

Overrides MongoDbTestBase::setUp

File

modules/mongodb/tests/src/Kernel/DatabaseFactoryTest.php, line 45

Class

DatabaseFactoryTest
Tests the DatabaseFactory.

Namespace

Drupal\Tests\mongodb\Kernel

Code

public function setUp() : void {
  parent::setUp();
  $this->clientFactory = new ClientFactory($this->settings);
  $this->databaseFactory = new DatabaseFactory($this->clientFactory, $this->settings);
}