File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 1414namespace Laudis \Neo4j \Tests \Unit ;
1515
1616use BadMethodCallException ;
17- use InvalidArgumentException ;
1817use function json_encode ;
1918use JsonException ;
2019use Laudis \Neo4j \Types \AbstractCypherObject ;
20+ use OutOfBoundsException ;
2121use PHPUnit \Framework \TestCase ;
2222
2323/**
@@ -81,7 +81,7 @@ public function testEmpty(): void
8181 $ caught = null ;
8282 try {
8383 $ empty [0 ];
84- } catch (InvalidArgumentException $ e ) {
84+ } catch (OutOfBoundsException $ e ) {
8585 $ caught = true ;
8686 }
8787 self ::assertTrue ($ caught , 'Empty has still valid access ' );
@@ -124,7 +124,7 @@ public function testFilled(): void
124124 $ caught = null ;
125125 try {
126126 $ filled [0 ];
127- } catch (InvalidArgumentException $ e ) {
127+ } catch (OutOfBoundsException $ e ) {
128128 $ caught = true ;
129129 }
130130 self ::assertTrue ($ caught , 'Filled has still valid access ' );
You can’t perform that action at this time.
0 commit comments