Skip to content
This repository has been archived by the owner on Jun 2, 2024. It is now read-only.

Commit

Permalink
Revert "Fixing php5.6 test on query."
Browse files Browse the repository at this point in the history
This reverts commit a05fc65.
  • Loading branch information
timothymarois committed Aug 17, 2018
1 parent a05fc65 commit 3d34748
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions tests/QueryTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -1025,9 +1025,7 @@ public function testQueryFromCacheAfterDelete()
->andWhere('email','==','[email protected]')
->resultDocuments();

$r = current($results);

$this->assertEquals($id2, $r->getId());
$this->assertEquals($id2, current($results)->getId());

$db->flush(true);
}
Expand Down Expand Up @@ -1072,10 +1070,8 @@ public function testQueryFromCacheAfterSave()
->andWhere('email','==','[email protected]')
->resultDocuments();

$r = current($results);

$this->assertEquals($id2, $r->getId());
$this->assertEquals('John', $r->name);
$this->assertEquals($id2, current($results)->getId());
$this->assertEquals('John', current($results)->name);

$db->flush(true);
}
Expand Down

0 comments on commit 3d34748

Please sign in to comment.