whoops :)

This commit is contained in:
fzerorubigd 2013-11-21 20:01:31 +03:30
parent 80e9f71b82
commit 1398da791d
No known key found for this signature in database
GPG Key ID: D6EE858AF9D2999A

View File

@ -150,7 +150,7 @@ class HandlebarsTest extends \PHPUnit_Framework_TestCase
{
$files = array_diff(scandir($dir), array('.', '..'));
foreach ($files as $file) {
(is_dir("$dir/$file")) ? delTree("$dir/$file") : unlink("$dir/$file");
(is_dir("$dir/$file")) ? $this->delTree("$dir/$file") : unlink("$dir/$file");
}
return rmdir($dir);