public function vfsStreamWrapperTestCase::touchChangesTimesToCurrentTimestampWhenNoTimesGiven in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/mikey179/vfsStream/src/test/php/org/bovigo/vfs/vfsStreamWrapperTestCase.php \org\bovigo\vfs\vfsStreamWrapperTestCase::touchChangesTimesToCurrentTimestampWhenNoTimesGiven()
@test @group issue_11 @group issue_80 @requires PHP 5.4.0
File
- vendor/
mikey179/ vfsStream/ src/ test/ php/ org/ bovigo/ vfs/ vfsStreamWrapperTestCase.php, line 688
Class
Namespace
org\bovigo\vfsCode
public function touchChangesTimesToCurrentTimestampWhenNoTimesGiven() {
$this
->assertTrue(touch($this->baz1URL));
$this
->assertEquals(time(), $this->baz1
->filemtime(), '', 1);
$this
->assertEquals(time(), $this->baz1
->fileatime(), '', 1);
}