Skip to content

Commit

Permalink
chore: adjusts tests
Browse files Browse the repository at this point in the history
  • Loading branch information
nunomaduro committed Jan 19, 2025
1 parent 6afb365 commit 709ecb1
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
with:
php-version: ${{ matrix.php }}
tools: composer:v2
coverage: xdebug
coverage: none

- name: Setup Problem Matches
run: |
Expand Down
6 changes: 3 additions & 3 deletions tests/.snapshots/success.txt
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,9 @@
↓ is marked as todo 3
↓ shouldBeMarkedAsTodo

PASS Tests\Features\Coverage
WARN Tests\Features\Coverage
✓ it has plugin
it adds coverage if --coverage exist
- it adds coverage if --coverage exist → Coverage is not available
✓ it adds coverage if --min exist
✓ it generates coverage based on file input

Expand Down Expand Up @@ -1708,4 +1708,4 @@
WARN Tests\Visual\Version
- visual snapshot of help command output

Tests: 2 deprecated, 4 warnings, 5 incomplete, 2 notices, 38 todos, 32 skipped, 1153 passed (2749 assertions)
Tests: 2 deprecated, 4 warnings, 5 incomplete, 2 notices, 38 todos, 33 skipped, 1152 passed (2744 assertions)
4 changes: 2 additions & 2 deletions tests/Features/DescriptionLess.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public function get(string $route)
get('foo')->expect(true)->toBeTrue();

describe('a "describe" group of tests', function () {
get('foo'); // not incomplete because closure is created...
get('foo'); // not incomplete because closure is created...
get('foo')->get('bar')->expect(true)->toBeTrue();
get('foo')->expect(true)->toBeTrue();
});
});
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, 38 todos, 23 skipped, 1143 passed (2725 assertions)')
->toContain('Tests: 2 deprecated, 4 warnings, 5 incomplete, 2 notices, 38 todos, 24 skipped, 1142 passed (2720 assertions)')
->toContain('Parallel: 3 processes');
})->skipOnWindows();

Expand Down

0 comments on commit 709ecb1

Please sign in to comment.