From 5bac23b97bbd87e94a4c05a7e17aa17a43a40c45 Mon Sep 17 00:00:00 2001 From: Daniel Lima Date: Tue, 9 May 2017 13:03:02 -0300 Subject: [PATCH] Fix Tests --- tests/TenantManagerTest.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/TenantManagerTest.php b/tests/TenantManagerTest.php index c033f86..6e8a0ff 100755 --- a/tests/TenantManagerTest.php +++ b/tests/TenantManagerTest.php @@ -49,7 +49,7 @@ public function testMakeDatabaseConfigFile() $config = $this->config; $config['database_path'] = realpath(__DIR__ . '/temp'); $config['database_prefix'] = 'bar_'; - $config['database_suffix'] = '_baz.php'; + $config['database_suffix'] = '_baz'; $tenant = $this->newTenantManager($config); $response = $tenant->makeDatabaseConfigFile('foo', ['bar' => 'baz'] ); $this->assertTrue( $response ); @@ -67,7 +67,7 @@ public function testDropDatabaseConfigFile() $config = $this->config; $config['database_path'] = realpath(__DIR__ . '/temp'); $config['database_prefix'] = 'foo_'; - $config['database_suffix'] = '_baz.php'; + $config['database_suffix'] = '_baz'; $tenant = $this->newTenantManager($config); file_put_contents($config['database_path'] . "/foo_bar_baz.php", "foo_bar"); $this->assertTrue($tenant->dropDatabaseConfigFile('bar')); @@ -106,4 +106,4 @@ private function resetTempFolder() } } } -} \ No newline at end of file +}