SQLite Test, FIx syntax error
This commit is contained in:
parent
c4f1fd3e0d
commit
6bd17a2150
@ -123,7 +123,7 @@ class Query_Builder {
|
||||
// Join the strings back together
|
||||
for($i = 0, $c = count($safe_array); $i < $count; $i++)
|
||||
{
|
||||
if (is_array($safe_array[$i])
|
||||
if (is_array($safe_array[$i]))
|
||||
{
|
||||
$safe_array[$i] = implode(' AS ', $safe_array[$i]);
|
||||
}
|
||||
|
@ -152,6 +152,14 @@ SQL;
|
||||
$this->assertIsA($query, 'PDOStatement');
|
||||
}
|
||||
|
||||
function TestQBSelectGet()
|
||||
{
|
||||
$query = $this->qb->select('id, key as k, val')->get('create_test');
|
||||
|
||||
$this->assertIsA($query, 'PDOStatement');
|
||||
|
||||
}
|
||||
|
||||
function TestDeleteTable()
|
||||
{
|
||||
//Make sure the table exists to delete
|
||||
|
Reference in New Issue
Block a user