Skip to content

Commit

Permalink
#15598 - Adjust test case
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeckerson committed May 29, 2022
1 parent 83f2ed6 commit 0ca88ff
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/database/Mvc/Model/FindCest.php
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ public function mvcModelFindWithCacheException(DatabaseTester $I)
$I->expectThrowable(
new Exception(
"Cache service must be an object implementing " .
"Phalcon\Cache\CacheInterface or Psr\SimpleCache\CacheInterface"
"Phalcon\Cache\CacheInterface"
),
function () {
$options = [
Expand Down Expand Up @@ -320,7 +320,7 @@ public function mvcModelFindPrivatePropertyWithRedisCache(DatabaseTester $I)
]
);

$I->assertSame(1, $cached->count());
$I->assertCount(1, $cached);

$record = $cached[0];
$actual = $record->getIsActive();
Expand Down

0 comments on commit 0ca88ff

Please sign in to comment.