Skip to content

Commit 379ec73

Browse files
DEBUG
1 parent 63a96ab commit 379ec73

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

tests/Integration/DataTypesIntegrationTest.php

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -63,17 +63,12 @@ public function testWithSingleName(): void
6363
'name' => 'bob1'
6464
]);
6565

66-
$this->assertEquals($expected->counters, $results->counters);
67-
68-
$filteredResults = array_slice(iterator_to_array($results), 0, 1);
69-
$this->assertEquals(iterator_to_array($expected), $filteredResults);
70-
71-
$bookmarks = $results->bookmarks ?: [];
66+
$this->assertEquals($expected->getQueryCounters(), $results->getQueryCounters());
67+
$bookmarks = $results->getBookmarks() ?: [];
7268
$this->assertCount(1, $bookmarks);
7369
}
7470

7571

76-
7772
public function testWithInteger(): void
7873
{
7974
$expected = new ResultSet(

0 commit comments

Comments
 (0)