Cover API CI skip prevention wiring
This commit is contained in:
@@ -0,0 +1,10 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
declare(strict_types=1);
|
||||||
|
|
||||||
|
it('fails CI API runs instead of allowing runtime bootstrap skips to pass', function (): void {
|
||||||
|
$runner = (string)file_get_contents(__DIR__ . '/../../Support/run_ci_suite.php');
|
||||||
|
|
||||||
|
expect($runner)->toContain('API_TEST_FAIL_ON_SKIP=1')
|
||||||
|
->and($runner)->toContain("assert_required_php_extensions(['mysqli'])");
|
||||||
|
});
|
||||||
Reference in New Issue
Block a user