Skip to content

Commit 19de51f

Browse files
committed
Merge branch '4.4' into 5.1
2 parents e70eb5a + 5b9106a commit 19de51f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Tests/Iterator/SortableIteratorTest.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,10 @@ public function testAccept($mode, $expected)
3535
case SortableIterator::SORT_BY_ACCESSED_TIME:
3636
touch(self::toAbsolute('.git'));
3737
sleep(1);
38-
file_get_contents(self::toAbsolute('.bar'));
38+
touch(self::toAbsolute('.bar'), time());
3939
break;
4040
case SortableIterator::SORT_BY_CHANGED_TIME:
41+
sleep(1);
4142
file_put_contents(self::toAbsolute('test.php'), 'foo');
4243
sleep(1);
4344
file_put_contents(self::toAbsolute('test.py'), 'foo');

0 commit comments

Comments
 (0)