mirror of
https://github.com/pestphp/pest.git
synced 2026-09-05 22:33:35 +02:00
chore: fixes ci
This commit is contained in:
@@ -71,6 +71,7 @@
|
|||||||
"config": {
|
"config": {
|
||||||
"sort-packages": true,
|
"sort-packages": true,
|
||||||
"preferred-install": "dist",
|
"preferred-install": "dist",
|
||||||
|
"process-timeout": 0,
|
||||||
"allow-plugins": {
|
"allow-plugins": {
|
||||||
"pestphp/pest-plugin": true
|
"pestphp/pest-plugin": true
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -192,6 +192,6 @@ test('a directory with no repository at all still asks for git', function (): vo
|
|||||||
$result = $project->pest('--tia');
|
$result = $project->pest('--tia');
|
||||||
|
|
||||||
expect($result->exitCode)->toBe(1, $result->describe())
|
expect($result->exitCode)->toBe(1, $result->describe())
|
||||||
->and($result->output)->toContain('requires "git"')
|
->and($result->output)->toContain('requires [git]')
|
||||||
->and($project->graphExists())->toBeFalse();
|
->and($project->graphExists())->toBeFalse();
|
||||||
})->skipOnWindows();
|
})->skipOnWindows();
|
||||||
|
|||||||
@@ -175,7 +175,7 @@ test('tia still requires git', function (): void {
|
|||||||
|
|
||||||
$result = $project->pest('--tia');
|
$result = $project->pest('--tia');
|
||||||
|
|
||||||
expect($result->output)->toContain('The feature [Tia mode[ requires [git].')
|
expect($result->output)->toContain('The feature [Tia mode] requires [git].')
|
||||||
->and($result->exitCode)->not->toBe(0);
|
->and($result->exitCode)->not->toBe(0);
|
||||||
})->skipOnWindows();
|
})->skipOnWindows();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user