File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -343,7 +343,7 @@ public function testSaveExpired()
343343
344344 $ item = $ this ->cache ->getItem ('key ' );
345345 $ item ->set ('value ' );
346- $ item ->expiresAt (\DateTime::createFromFormat ('U ' , time ()- 1 ));
346+ $ item ->expiresAt (\DateTime::createFromFormat ('U ' , time () - 1 ));
347347 $ this ->cache ->save ($ item );
348348 $ item = $ this ->cache ->getItem ('key ' );
349349 $ this ->assertFalse ($ item ->isHit (), 'Cache should not save expired items ' );
@@ -408,7 +408,7 @@ public function testDeferredExpired()
408408
409409 $ item = $ this ->cache ->getItem ('key ' );
410410 $ item ->set ('4711 ' );
411- $ item ->expiresAt (\DateTime::createFromFormat ('U ' , time ()- 1 ));
411+ $ item ->expiresAt (\DateTime::createFromFormat ('U ' , time () - 1 ));
412412 $ this ->cache ->saveDeferred ($ item );
413413
414414 $ this ->assertFalse ($ this ->cache ->hasItem ('key ' ), 'Cache should not have expired deferred item ' );
You can’t perform that action at this time.
0 commit comments