This commit is contained in:
thinkphp
2016-03-16 13:13:22 +08:00
parent 380ae28021
commit 6ee82ff9de

View File

@@ -130,7 +130,7 @@ class viewTest extends \PHPUnit_Framework_TestCase
} else { } else {
$expect_data = __DIR__ . DS . 'default' . DS . 'template.html'; $expect_data = __DIR__ . DS . 'default' . DS . 'template.html';
} }
$this->assertEquals($expect_data, $method->invoke($view_instance, 'template_name')); $this->assertEquals($expect_data, $method->invoke($view_instance, 'template'));
} }
} }