@@ -217,7 +217,7 @@ public function testPrune()
217
217
$ doSet ('qux ' , 'qux-val ' , new \DateInterval ('PT20S ' ));
218
218
219
219
sleep (30 );
220
- $ cache ->prune ();
220
+ $ this -> assertTrue ( $ cache ->prune () );
221
221
$ this ->assertTrue ($ this ->isPruned ($ cache , 'foo ' ));
222
222
$ this ->assertTrue ($ this ->isPruned ($ cache , 'bar ' ));
223
223
$ this ->assertTrue ($ this ->isPruned ($ cache , 'baz ' ));
@@ -228,27 +228,27 @@ public function testPrune()
228
228
$ doSet ('baz ' , 'baz-val ' , new \DateInterval ('PT40S ' ));
229
229
$ doSet ('qux ' , 'qux-val ' , new \DateInterval ('PT80S ' ));
230
230
231
- $ cache ->prune ();
231
+ $ this -> assertTrue ( $ cache ->prune () );
232
232
$ this ->assertFalse ($ this ->isPruned ($ cache , 'foo ' ));
233
233
$ this ->assertFalse ($ this ->isPruned ($ cache , 'bar ' ));
234
234
$ this ->assertFalse ($ this ->isPruned ($ cache , 'baz ' ));
235
235
$ this ->assertFalse ($ this ->isPruned ($ cache , 'qux ' ));
236
236
237
237
sleep (30 );
238
- $ cache ->prune ();
238
+ $ this -> assertTrue ( $ cache ->prune () );
239
239
$ this ->assertFalse ($ this ->isPruned ($ cache , 'foo ' ));
240
240
$ this ->assertTrue ($ this ->isPruned ($ cache , 'bar ' ));
241
241
$ this ->assertFalse ($ this ->isPruned ($ cache , 'baz ' ));
242
242
$ this ->assertFalse ($ this ->isPruned ($ cache , 'qux ' ));
243
243
244
244
sleep (30 );
245
- $ cache ->prune ();
245
+ $ this -> assertTrue ( $ cache ->prune () );
246
246
$ this ->assertFalse ($ this ->isPruned ($ cache , 'foo ' ));
247
247
$ this ->assertTrue ($ this ->isPruned ($ cache , 'baz ' ));
248
248
$ this ->assertFalse ($ this ->isPruned ($ cache , 'qux ' ));
249
249
250
250
sleep (30 );
251
- $ cache ->prune ();
251
+ $ this -> assertTrue ( $ cache ->prune () );
252
252
$ this ->assertFalse ($ this ->isPruned ($ cache , 'foo ' ));
253
253
$ this ->assertTrue ($ this ->isPruned ($ cache , 'qux ' ));
254
254
}
0 commit comments