diff --git a/Features.md b/Features.md deleted file mode 100644 index 0ef6f0eb..00000000 --- a/Features.md +++ /dev/null @@ -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` diff --git a/tests/.snapshots/success.txt b/tests/.snapshots/success.txt index 8b719c23..e8cbbe03 100644 --- a/tests/.snapshots/success.txt +++ b/tests/.snapshots/success.txt @@ -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) \ No newline at end of file + Tests: 2 deprecated, 4 warnings, 5 incomplete, 2 notices, 17 todos, 28 skipped, 1088 passed (2615 assertions) \ No newline at end of file diff --git a/tests/Features/Expect/toHaveFileSystemPermissions.php b/tests/Features/Expect/toHaveFileSystemPermissions.php index f1eb944b..0fa11fdd 100644 --- a/tests/Features/Expect/toHaveFileSystemPermissions.php +++ b/tests/Features/Expect/toHaveFileSystemPermissions.php @@ -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]."); +// ... diff --git a/tests/Visual/Parallel.php b/tests/Visual/Parallel.php index 7dbb0745..8744afb0 100644 --- a/tests/Visual/Parallel.php +++ b/tests/Visual/Parallel.php @@ -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();