diff --git a/tests/databases/mysql-qb.php b/tests/databases/mysql-qb.php index 803074c..9cf74be 100644 --- a/tests/databases/mysql-qb.php +++ b/tests/databases/mysql-qb.php @@ -29,7 +29,7 @@ class MySQLQBTest extends QBTest { // echo '
MySQL Queries
'; } - elseif ( ! empty(getenv('CI'))) + elseif (($var = getenv('CI'))) { $params = array( 'host' => '127.0.0.1', diff --git a/tests/databases/mysql.php b/tests/databases/mysql.php index ab4fcb5..8443119 100644 --- a/tests/databases/mysql.php +++ b/tests/databases/mysql.php @@ -29,7 +29,7 @@ class MySQLTest extends DBTest { $this->db = new MySQL("host={$params->host};port={$params->port};dbname={$params->database}", $params->user, $params->pass); } - elseif ( ! empty(getenv('CI'))) + elseif (($var = getenv('CI'))) { $this->db = new MySQL('host=127.0.0.1;port=3306;dbname=test', 'root'); } diff --git a/tests/databases/pgsql-qb.php b/tests/databases/pgsql-qb.php index 9d1314e..e936a4c 100644 --- a/tests/databases/pgsql-qb.php +++ b/tests/databases/pgsql-qb.php @@ -30,7 +30,7 @@ class PgSQLQBTest extends QBTest { // echo '
Postgres Queries
'; } - elseif ( ! empty(getenv('CI'))) + elseif (($var = getenv('CI'))) { $params = array( 'host' => '127.0.0.1', diff --git a/tests/databases/pgsql.php b/tests/databases/pgsql.php index c61e630..1c4fedd 100644 --- a/tests/databases/pgsql.php +++ b/tests/databases/pgsql.php @@ -34,7 +34,7 @@ class PgTest extends DBTest { $this->db = new PgSQL("host={$params->host};port={$params->port};dbname={$params->database}", $params->user, $params->pass); } - elseif ( ! empty(getenv('CI'))) + elseif (($var = getenv('CI'))) { $this->db = new PgSQL('host=127.0.0.1;port=5432;dbname=test', 'postgres'); } diff --git a/tests/test_dbs/FB_TEST_DB.FDB b/tests/test_dbs/FB_TEST_DB.FDB index fe94712..e40193e 100755 Binary files a/tests/test_dbs/FB_TEST_DB.FDB and b/tests/test_dbs/FB_TEST_DB.FDB differ