Skip to content

Commit

Permalink
Revert to default db.
Browse files Browse the repository at this point in the history
  • Loading branch information
francis94c committed Jun 23, 2019
1 parent 4f8d50e commit 876ce7e
Showing 1 changed file with 1 addition and 13 deletions.
14 changes: 1 addition & 13 deletions unit_tests/BlogTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,19 +6,7 @@ final class BlogTest extends TestCase {
public function testLoadBlog() {
$ci =& get_instance();
$ci->load->splint("francis94c/blog", "+Blogger", null, "blogger");
$db['hostname'] = 'localhost';
$db['username'] = 'root';
$db['password'] = '';
$db['database'] = 'blog_db';
$db['dbdriver'] = 'mysqli';
$db['dbprefix'] = '';
$db['pconnect'] = FALSE;
$db['db_debug'] = TRUE;
$db['cache_on'] = FALSE;
$db['cachedir'] = '';
$db['char_set'] = 'utf8';
$db['dbcollat'] = 'utf8_general_ci';
$ci->load->database($db);
$ci->load->database();
$this->assertTrue($ci->blogger->install("test_blog"));
}
}
Expand Down

0 comments on commit 876ce7e

Please sign in to comment.