You are here

public function RequestTest::testNotGenerating in OpenAPI 8

Assert that test expectation generation is disabled.

File

tests/src/Functional/RequestTest.php, line 169

Class

RequestTest
Tests requests OpenAPI routes.

Namespace

Drupal\Tests\openapi\Functional

Code

public function testNotGenerating() {
  $this
    ->assertFalse(static::GENERATE_EXPECTATION_FILES, 'Expectation files generated. Change \\Drupal\\Tests\\openapi\\Functional\\RequestTest::GENERATE_EXPECTATION_FILES to FALSE to run tests.');
}