File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -69,7 +69,7 @@ public function testIsFresh()
69
69
$ this ->assertTrue ($ resource ->isFresh (time () + 10 ), '->isFresh() returns true if the resource has not changed ' );
70
70
$ this ->assertFalse ($ resource ->isFresh (time () - 86400 ), '->isFresh() returns false if the resource has been updated ' );
71
71
72
- $ resource = new DirectoryResource ('/____foo/foobar ' .rand (1 , 999999 ));
72
+ $ resource = new DirectoryResource ('/____foo/foobar ' .mt_rand (1 , 999999 ));
73
73
$ this ->assertFalse ($ resource ->isFresh (time ()), '->isFresh() returns false if the resource does not exist ' );
74
74
}
75
75
Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ public function testIsFresh()
48
48
$ this ->assertTrue ($ this ->resource ->isFresh ($ this ->time + 10 ), '->isFresh() returns true if the resource has not changed ' );
49
49
$ this ->assertFalse ($ this ->resource ->isFresh ($ this ->time - 86400 ), '->isFresh() returns false if the resource has been updated ' );
50
50
51
- $ resource = new FileResource ('/____foo/foobar ' .rand (1 , 999999 ));
51
+ $ resource = new FileResource ('/____foo/foobar ' .mt_rand (1 , 999999 ));
52
52
$ this ->assertFalse ($ resource ->isFresh ($ this ->time ), '->isFresh() returns false if the resource does not exist ' );
53
53
}
54
54
You can’t perform that action at this time.
0 commit comments