修正block标签的bug

This commit is contained in:
oldrind
2016-03-17 09:50:12 +08:00
parent ee8e6a26c0
commit 14ee945b0c
2 changed files with 23 additions and 21 deletions

View File

@@ -323,7 +323,7 @@ EOF;
'view_path' => dirname(__FILE__) . '/',
];
$data = ['name' => 'value'];
$template->display('display', $data, $config);
$template->layout('layout')->display('display', $data, $config);
$this->expectOutputString('value');
}