Skip to content

Commit 709ecb1

Browse files
committed
chore: adjusts tests
1 parent 6afb365 commit 709ecb1

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

.github/workflows/tests.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
with:
2929
php-version: ${{ matrix.php }}
3030
tools: composer:v2
31-
coverage: xdebug
31+
coverage: none
3232

3333
- name: Setup Problem Matches
3434
run: |

tests/.snapshots/success.txt

+3-3
Original file line numberDiff line numberDiff line change
@@ -62,9 +62,9 @@
6262
↓ is marked as todo 3
6363
↓ shouldBeMarkedAsTodo
6464

65-
PASS Tests\Features\Coverage
65+
WARN Tests\Features\Coverage
6666
✓ it has plugin
67-
it adds coverage if --coverage exist
67+
- it adds coverage if --coverage exist → Coverage is not available
6868
✓ it adds coverage if --min exist
6969
✓ it generates coverage based on file input
7070

@@ -1708,4 +1708,4 @@
17081708
WARN Tests\Visual\Version
17091709
- visual snapshot of help command output
17101710

1711-
Tests: 2 deprecated, 4 warnings, 5 incomplete, 2 notices, 38 todos, 32 skipped, 1153 passed (2749 assertions)
1711+
Tests: 2 deprecated, 4 warnings, 5 incomplete, 2 notices, 38 todos, 33 skipped, 1152 passed (2744 assertions)

tests/Features/DescriptionLess.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ public function get(string $route)
3131
get('foo')->expect(true)->toBeTrue();
3232

3333
describe('a "describe" group of tests', function () {
34-
get('foo'); // not incomplete because closure is created...
34+
get('foo'); // not incomplete because closure is created...
3535
get('foo')->get('bar')->expect(true)->toBeTrue();
3636
get('foo')->expect(true)->toBeTrue();
37-
});
37+
});

tests/Visual/Parallel.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
test('parallel', function () use ($run) {
1818
expect($run('--exclude-group=integration'))
19-
->toContain('Tests: 2 deprecated, 4 warnings, 5 incomplete, 2 notices, 38 todos, 23 skipped, 1143 passed (2725 assertions)')
19+
->toContain('Tests: 2 deprecated, 4 warnings, 5 incomplete, 2 notices, 38 todos, 24 skipped, 1142 passed (2720 assertions)')
2020
->toContain('Parallel: 3 processes');
2121
})->skipOnWindows();
2222

0 commit comments

Comments
 (0)