mirror of
https://github.com/pestphp/pest.git
synced 2026-09-06 23:03:34 +02:00
Compare commits
3 Commits
d0572ce138
...
v5.0.4
| Author | SHA1 | Date | |
|---|---|---|---|
| 7b6415ccd0 | |||
| a5d726b678 | |||
| 93223caa56 |
@@ -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
|
||||||
}
|
}
|
||||||
|
|||||||
+1
-1
@@ -6,7 +6,7 @@ namespace Pest;
|
|||||||
|
|
||||||
function version(): string
|
function version(): string
|
||||||
{
|
{
|
||||||
return '5.0.3';
|
return '5.0.4';
|
||||||
}
|
}
|
||||||
|
|
||||||
function testDirectory(string $file = ''): string
|
function testDirectory(string $file = ''): string
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
|
|
||||||
Pest Testing Framework 5.0.3.
|
Pest Testing Framework 5.0.4.
|
||||||
|
|
||||||
USAGE: pest <file> [options]
|
USAGE: pest <file> [options]
|
||||||
|
|
||||||
|
|||||||
@@ -1,3 +1,3 @@
|
|||||||
|
|
||||||
Pest Testing Framework 5.0.3.
|
Pest Testing Framework 5.0.4.
|
||||||
|
|
||||||
|
|||||||
@@ -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();
|
||||||
|
|
||||||
|
|||||||
@@ -174,6 +174,9 @@ final class Project
|
|||||||
'HOME' => $this->home(),
|
'HOME' => $this->home(),
|
||||||
'GITHUB_EVENT_PATH' => '',
|
'GITHUB_EVENT_PATH' => '',
|
||||||
'CI_DEFAULT_BRANCH' => '',
|
'CI_DEFAULT_BRANCH' => '',
|
||||||
|
'GITHUB_ACTIONS' => '',
|
||||||
|
'GITLAB_CI' => '',
|
||||||
|
'CIRCLECI' => '',
|
||||||
...$environment,
|
...$environment,
|
||||||
],
|
],
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user