File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -699,9 +699,9 @@ public function testGetCommonNeighborVertices()
699
699
),
700
700
array ("_id " => $ this ->v1 . "/ " . $ this ->vertex7Array ["_key " ])
701
701
);
702
-
703
- $ this ->assertTrue ($ e -> getMetadata () ["hasMore " ]);
704
- $ this ->assertTrue ($ e -> getMetadata () ["count " ] === 2 );
702
+ $ meta = $ e -> getMetadata ();
703
+ $ this ->assertTrue ($ meta ["hasMore " ]);
704
+ $ this ->assertTrue ($ meta ["count " ] === 2 );
705
705
706
706
707
707
}
@@ -734,8 +734,9 @@ public function testGetCommonProperties()
734
734
$ this ->graphHandler ->setCount (true );
735
735
$ this ->graphHandler ->setLimit (2 );
736
736
$ e = $ this ->graphHandler ->getCommonProperties ($ this ->graphName );
737
- $ this ->assertTrue ($ e ->getMetadata ()["hasMore " ]);
738
- $ this ->assertTrue ($ e ->getMetadata ()["count " ] === 2 );
737
+ $ meta = $ e ->getMetadata ();
738
+ $ this ->assertTrue ($ meta ["hasMore " ]);
739
+ $ this ->assertTrue ($ meta ["count " ] === 2 );
739
740
740
741
}
741
742
You can’t perform that action at this time.
0 commit comments