Skip to content

Commit

Permalink
chore: updates snapshots
Browse files Browse the repository at this point in the history
  • Loading branch information
nunomaduro committed Sep 9, 2024
1 parent fa41a67 commit 09edaa9
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 29 deletions.
10 changes: 0 additions & 10 deletions Features.md

This file was deleted.

7 changes: 1 addition & 6 deletions tests/.snapshots/success.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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)
13 changes: 1 addition & 12 deletions tests/Features/Expect/toHaveFileSystemPermissions.php
Original file line number Diff line number Diff line change
Expand Up @@ -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].");
// ...
2 changes: 1 addition & 1 deletion tests/Visual/Parallel.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

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();

Expand Down

0 comments on commit 09edaa9

Please sign in to comment.