You are here

public function ToolsTest::testToolsSettings in MongoDB 8.2

@covers ::settings

File

modules/mongodb/tests/src/Kernel/ToolsTest.php, line 32

Class

ToolsTest
Class CommandsTest.

Namespace

Drupal\Tests\mongodb\Kernel

Code

public function testToolsSettings() {
  $tools = $this->container
    ->get(MongoDb::SERVICE_TOOLS);
  $actual = $tools
    ->settings();
  $this
    ->assertIsArray($actual);
  $expected = $this
    ->getSettingsArray();
  $this
    ->assertEquals($expected, $actual);
}