public function RequestTestBase::testNotGenerating in OpenAPI 8.2
Assert that test expectation generation is disabled.
File
- tests/
src/ Functional/ RequestTestBase.php, line 129
Class
- RequestTestBase
- Base tests for requests on OpenAPI routes.
Namespace
Drupal\Tests\openapi\FunctionalCode
public function testNotGenerating() {
$this
->assertFalse(static::$generateExpectationFiles, 'Expectation files generated. Change \\Drupal\\Tests\\openapi\\Functional\\RequestTest::$generateExpectationFiles to FALSE to run tests.');
}