summaryrefslogtreecommitdiffstats
path: root/tests/codeigniter/database/DB_test.php
diff options
context:
space:
mode:
authorAndrey Andreev <narf@devilix.net>2018-06-12 15:46:16 +0200
committerAndrey Andreev <narf@devilix.net>2018-06-12 15:46:16 +0200
commitbb451aa0e4853f9afd4263769eeea1d9aad3a600 (patch)
treeaa3770006128ab46d570e6b6aad756e4e92299d9 /tests/codeigniter/database/DB_test.php
parente76217041ddcae80f11b50b44a7d409b6722ad40 (diff)
parenta9da3dd2f16a8f97d7bc4ff5572b28e4bb84c813 (diff)
Merge branch '3.1-stable'
Diffstat (limited to 'tests/codeigniter/database/DB_test.php')
-rw-r--r--tests/codeigniter/database/DB_test.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/codeigniter/database/DB_test.php b/tests/codeigniter/database/DB_test.php
index dc4fae986..9d53fd6f2 100644
--- a/tests/codeigniter/database/DB_test.php
+++ b/tests/codeigniter/database/DB_test.php
@@ -36,8 +36,8 @@ class DB_test extends CI_TestCase {
$db = Mock_Database_DB::DB($connection->set_dsn(DB_DRIVER), TRUE);
- $this->assertTrue($db instanceof CI_DB);
- $this->assertTrue($db instanceof CI_DB_Driver);
+ $this->assertInstanceOf('CI_DB', $db);
+ $this->assertInstanceOf('CI_DB_Driver', $db);
}
// ------------------------------------------------------------------------
@@ -53,9 +53,9 @@ class DB_test extends CI_TestCase {
$connection = new Mock_Database_DB($config);
$db = Mock_Database_DB::DB($connection->set_dsn(DB_DRIVER.'_failover'), TRUE);
- $this->assertTrue($db instanceof CI_DB);
- $this->assertTrue($db instanceof CI_DB_Driver);
+ $this->assertInstanceOf('CI_DB', $db);
+ $this->assertInstanceOf('CI_DB_Driver', $db);
}
*/
-} \ No newline at end of file
+}