mirror of
https://github.com/fenom-template/fenom.git
synced 2023-08-10 21:13:07 +03:00
Reformat. Fix pipe. Add more tests
This commit is contained in:
@@ -88,7 +88,7 @@ class ProviderTest extends TestCase
|
||||
clearstatcache();
|
||||
$templates = array(
|
||||
"template1.tpl" => filemtime(FENOM_RESOURCES . '/template/template1.tpl'),
|
||||
"unexists.tpl" => 1234567890
|
||||
"unexists.tpl" => 1234567890
|
||||
);
|
||||
$this->assertFalse($this->provider->verify($templates));
|
||||
}
|
||||
@@ -97,11 +97,14 @@ class ProviderTest extends TestCase
|
||||
{
|
||||
$list = $this->provider->getList();
|
||||
sort($list);
|
||||
$this->assertSame(array(
|
||||
"sub/template3.tpl",
|
||||
"template1.tpl",
|
||||
"template2.tpl"
|
||||
), $list);
|
||||
$this->assertSame(
|
||||
array(
|
||||
"sub/template3.tpl",
|
||||
"template1.tpl",
|
||||
"template2.tpl"
|
||||
),
|
||||
$list
|
||||
);
|
||||
}
|
||||
|
||||
public function testRm()
|
||||
|
||||
Reference in New Issue
Block a user