summaryrefslogtreecommitdiff
path: root/modules/gallery_unit_test/controllers/test.php
diff options
context:
space:
mode:
Diffstat (limited to 'modules/gallery_unit_test/controllers/test.php')
-rw-r--r--modules/gallery_unit_test/controllers/test.php12
1 files changed, 6 insertions, 6 deletions
diff --git a/modules/gallery_unit_test/controllers/test.php b/modules/gallery_unit_test/controllers/test.php
index e6c0ce3e..06e15696 100644
--- a/modules/gallery_unit_test/controllers/test.php
+++ b/modules/gallery_unit_test/controllers/test.php
@@ -31,16 +31,16 @@ class Test_Controller extends Controller {
copy($original_config, $test_config);
$db_config = Kohana::config('database');
if (empty($db_config['unit_test'])) {
- print "Please create create a 'unit_test' database configuration in $db_config.\n";
- return;
+ print "Please create create a 'unit_test' database configuration in $db_config.\n";
+ return;
}
try {
- $db = Database::instance('unit_test');
- $db->connect();
+ $db = Database::instance('unit_test');
+ $db->connect();
- // Make this the default database for the rest of this run
- Database::$instances = array('default' => $db);
+ // Make this the default database for the rest of this run
+ Database::$instances = array('default' => $db);
} catch (Exception $e) {
print "{$e->getMessage()}\n";
return;