mirror of
https://github.com/pestphp/pest.git
synced 2026-03-06 15:57:21 +01:00
chore: updates snapshots
This commit is contained in:
10
Features.md
10
Features.md
@ -1,10 +0,0 @@
|
||||
1. Mutation Testing.
|
||||
2. `->after`.
|
||||
3. `pest()->`
|
||||
4. `->notes()`, `->issue`, `->pr`, etc
|
||||
5. `arch()->preset`
|
||||
6. `toHaveFileSystemPermissions`
|
||||
7. `toHaveLineCountLessThan`
|
||||
8. `toHaveAllMethodsDocumented`
|
||||
9. `toHaveAllPropertiesDocumented`
|
||||
10. `@pest-arch-ignore-line` and `@pest-arch-ignore-next-line`
|
||||
@ -753,11 +753,6 @@
|
||||
✓ class has destructor
|
||||
✓ class has no destructor
|
||||
|
||||
PASS Tests\Features\Expect\toHaveFileSystemPermissions
|
||||
✓ pass
|
||||
✓ failures
|
||||
✓ not failures
|
||||
|
||||
PASS Tests\Features\Expect\toHaveKebabCaseKeys
|
||||
✓ pass
|
||||
✓ failures
|
||||
@ -1578,4 +1573,4 @@
|
||||
WARN Tests\Visual\Version
|
||||
- visual snapshot of help command output
|
||||
|
||||
Tests: 2 deprecated, 4 warnings, 5 incomplete, 2 notices, 17 todos, 28 skipped, 1091 passed (2623 assertions)
|
||||
Tests: 2 deprecated, 4 warnings, 5 incomplete, 2 notices, 17 todos, 28 skipped, 1088 passed (2615 assertions)
|
||||
@ -2,15 +2,4 @@
|
||||
|
||||
use Pest\Arch\Exceptions\ArchExpectationFailedException;
|
||||
|
||||
test('pass', function () {
|
||||
expect(Pest\Preset::class)->toHaveFileSystemPermissions('0644')
|
||||
->and('Pest')->not->toHaveFileSystemPermissions('0777');
|
||||
});
|
||||
|
||||
test('failures', function () {
|
||||
expect(Pest\Preset::class)->toHaveFileSystemPermissions('0755');
|
||||
})->throws(ArchExpectationFailedException::class, "Expecting 'src/Preset.php' permissions to be [0755].");
|
||||
|
||||
test('not failures', function () {
|
||||
expect(Pest\Preset::class)->not->toHaveFileSystemPermissions('0644');
|
||||
})->throws(ArchExpectationFailedException::class, "Expecting 'src/Preset.php' permissions not to be [0644].");
|
||||
// ...
|
||||
|
||||
@ -16,7 +16,7 @@ $run = function () {
|
||||
|
||||
test('parallel', function () use ($run) {
|
||||
expect($run('--exclude-group=integration'))
|
||||
->toContain('Tests: 2 deprecated, 4 warnings, 5 incomplete, 2 notices, 17 todos, 19 skipped, 1081 passed (2599 assertions)')
|
||||
->toContain('Tests: 2 deprecated, 4 warnings, 5 incomplete, 2 notices, 17 todos, 19 skipped, 1078 passed (2591 assertions)')
|
||||
->toContain('Parallel: 3 processes');
|
||||
})->skipOnWindows();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user