Skip to content

Commit 3a63de0

Browse files
committed
Fixed tests
1 parent e2ad48b commit 3a63de0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

phpunit.xml.dist

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
xsi:noNamespaceSchemaLocation="./vendor/phpunit/phpunit/phpunit.xsd"
44
bootstrap="vendor/autoload.php"
55
colors="true"
6+
cacheResult="false"
67
>
78
<testsuites>
89
<testsuite name="Unit">

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)