File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 21
21
use Laudis \Neo4j \Formatter \BasicFormatter ;
22
22
use ReflectionClass ;
23
23
use function str_starts_with ;
24
+ use Throwable ;
24
25
25
26
/**
26
27
* @psalm-import-type BasicResults from \Laudis\Neo4j\Formatter\BasicFormatter
@@ -308,7 +309,7 @@ public function testCommitInvalid(string $alias): void
308
309
$ exception = false ;
309
310
try {
310
311
$ tsx ->commit ();
311
- } catch (Neo4jException $ e ) {
312
+ } catch (Throwable $ e ) {
312
313
$ exception = true ;
313
314
}
314
315
self ::assertTrue ($ exception );
@@ -354,7 +355,7 @@ public function testRollbackInvalid(string $alias): void
354
355
$ exception = false ;
355
356
try {
356
357
$ tsx ->rollback ();
357
- } catch (Neo4jException $ e ) {
358
+ } catch (Throwable $ e ) {
358
359
$ exception = true ;
359
360
}
360
361
self ::assertTrue ($ exception );
You can’t perform that action at this time.
0 commit comments