Skip to content

Commit d761568

Browse files
committed
Fixed tests
1 parent e2ad48b commit d761568

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

.github/workflows/Test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ jobs:
5656
run: composer cs
5757

5858
- name: Execute tests
59-
run: composer test -- --coverage-clover=coverage.xml
59+
run: composer test -- --coverage-clover=coverage.xml --no-coverage-cache
6060

6161
- name: Run codecov
6262
uses: codecov/codecov-action@v4

tests/JSONPathArrayAccessTest.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ public function testIterating(): void
8080
* @testWith [false]
8181
* [true]
8282
*/
83-
public function testDifferentStylesOfAccess(bool $asArray): void
83+
public function testDifferentStylesOfAccess(bool $asArray = true): void
8484
{
8585
$container = new ArrayObject($this->getData('conferences', $asArray));
8686
$data = new JSONPath($container);
@@ -97,7 +97,6 @@ public function testDifferentStylesOfAccess(bool $asArray): void
9797
}
9898

9999
/**
100-
* @throws JsonException
101100
* @noinspection PhpUndefinedFieldInspection
102101
*/
103102
public function testUpdate(): void

0 commit comments

Comments
 (0)