public function FinderTest::testDate in Database Sanitize 7
File
- vendor/
symfony/ finder/ Tests/ FinderTest.php, line 173
Class
Namespace
Symfony\Component\Finder\TestsCode
public function testDate() {
$finder = $this
->buildFinder();
$this
->assertSame($finder, $finder
->files()
->date('until last month'));
$this
->assertIterator($this
->toAbsolute(array(
'foo/bar.tmp',
'test.php',
)), $finder
->in(self::$tmpDir)
->getIterator());
}