Skip to content

Commit

Permalink
Changed unit test according
Browse files Browse the repository at this point in the history
  • Loading branch information
jignesh-baldha committed Aug 7, 2018
1 parent 1124fb5 commit 105b787
Showing 1 changed file with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -285,6 +285,15 @@ public function getCacheLifetimeDataProvider()
'expectsCacheSave' => $this->never(),
'expectedResult' => '',
],
[
'cacheLifetime' => false,
'dataFromCache' => 'dataFromCache',
'dataForSaveCache' => '',
'expectsDispatchEvent' => $this->exactly(2),
'expectsCacheLoad' => $this->never(),
'expectsCacheSave' => $this->never(),
'expectedResult' => '',
],
[
'cacheLifetime' => 120,
'dataFromCache' => 'dataFromCache',
Expand Down

0 comments on commit 105b787

Please sign in to comment.