Skip to content

Commit

Permalink
Fix Tests
Browse files Browse the repository at this point in the history
  • Loading branch information
dlimars authored May 9, 2017
1 parent dad0b3a commit 5bac23b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/TenantManagerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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 );
Expand All @@ -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'));
Expand Down Expand Up @@ -106,4 +106,4 @@ private function resetTempFolder()
}
}
}
}
}

0 comments on commit 5bac23b

Please sign in to comment.