This repository has been archived by the owner on Jun 2, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 49
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert "Fixing php5.6 test on query."
This reverts commit a05fc65.
- Loading branch information
1 parent
a05fc65
commit 3d34748
Showing
1 changed file
with
3 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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); | ||
} | ||
|
@@ -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); | ||
} | ||
|