fix test for no cache directory path
This commit is contained in:
@ -30,7 +30,7 @@ class BladeTest extends \PHPUnit_Framework_TestCase
|
|||||||
{
|
{
|
||||||
$views = new Blade([
|
$views = new Blade([
|
||||||
'One' => __DIR__ . '/templates',
|
'One' => __DIR__ . '/templates',
|
||||||
]);
|
], __DIR__ . '/../data/cache');
|
||||||
$output = $views->fetch('example', [
|
$output = $views->fetch('example', [
|
||||||
'name' => 'Josh',
|
'name' => 'Josh',
|
||||||
]);
|
]);
|
||||||
@ -42,7 +42,7 @@ class BladeTest extends \PHPUnit_Framework_TestCase
|
|||||||
$views = new Blade([
|
$views = new Blade([
|
||||||
'One' => __DIR__ . '/templates',
|
'One' => __DIR__ . '/templates',
|
||||||
'Two' => __DIR__ . '/another',
|
'Two' => __DIR__ . '/another',
|
||||||
]);
|
], __DIR__ . '/../data/cache');
|
||||||
$outputOne = $views->fetch('example', [
|
$outputOne = $views->fetch('example', [
|
||||||
'name' => 'Peter',
|
'name' => 'Peter',
|
||||||
]);
|
]);
|
||||||
|
Reference in New Issue
Block a user