From 3086b4e53dace0cf06ef58bb47eb2fb09eb27e78 Mon Sep 17 00:00:00 2001 From: uwetews Date: Thu, 31 Dec 2015 03:02:34 +0100 Subject: [PATCH] Fix msql test --- .../Custom/DemoPluginMysql/ResourceMysqlPluginTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/UnitTests/ResourceTests/Custom/DemoPluginMysql/ResourceMysqlPluginTest.php b/tests/UnitTests/ResourceTests/Custom/DemoPluginMysql/ResourceMysqlPluginTest.php index 293f84a5..f80c63e3 100644 --- a/tests/UnitTests/ResourceTests/Custom/DemoPluginMysql/ResourceMysqlPluginTest.php +++ b/tests/UnitTests/ResourceTests/Custom/DemoPluginMysql/ResourceMysqlPluginTest.php @@ -96,7 +96,7 @@ if (MysqlResourceEnable == true) { */ public function testSmartyTemplate() { $this->smarty->addPluginsDir("./PHPunitplugins/"); - $this->assertEquals('template = 001_smarty_template.tpl', $this->smarty->fetch('mysqlstest:template.tpl')); + $this->assertEquals('template = mysqlstest:template.tpl', $this->smarty->fetch('mysqlstest:template.tpl')); } /** * test {$smarty.current_dir} @@ -104,7 +104,7 @@ if (MysqlResourceEnable == true) { */ public function testSmartyCurrentDir() { $this->smarty->addPluginsDir("./PHPunitplugins/"); - $this->assertEquals('current_dir = ', $this->smarty->fetch('mysqlstest:current_dir.tpl')); + $this->assertEquals('current_dir = .', $this->smarty->fetch('mysqlstest:current_dir.tpl')); } } }