File tree Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -342,11 +342,10 @@ public function testSaveVerticesAndEdgeBetweenThemAndRemoveFirstVertexFirst()
342
342
343
343
344
344
// Try to get the edge using GraphHandler
345
- // This should return true
345
+ // This should cause an exception with a code of 404
346
346
try {
347
347
$ e = null ;
348
- $ resultE = $ this ->graphHandler ->getEdge ($ this ->graphName , $ this ->edge1Name );
349
- $ this ->assertTrue ($ resultE , 'Did not return true! ' );
348
+ $ this ->graphHandler ->getEdge ($ this ->graphName , $ this ->edge1Name );
350
349
} catch (\Exception $ e ) {
351
350
// don't bother us... just give us the $e
352
351
}
@@ -443,11 +442,10 @@ public function testGetReplaceUpdateAndRemoveOnNonExistentObjects()
443
442
444
443
445
444
// Try to get the edge using GraphHandler
446
- // This should return true
445
+ // This should cause an exception with a code of 404
447
446
try {
448
447
$ e = null ;
449
- $ resultE = $ this ->graphHandler ->getEdge ($ this ->graphName , $ this ->edge1Name );
450
- $ this ->assertTrue ($ resultE , 'Did not return true! ' );
448
+ $ this ->graphHandler ->getEdge ($ this ->graphName , $ this ->edge1Name );
451
449
} catch (\Exception $ e ) {
452
450
// don't bother us... just give us the $e
453
451
}
You can’t perform that action at this time.
0 commit comments