Update test for dblayerooSQLite
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4293 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
This commit is contained in:
@@ -1063,16 +1063,23 @@ class test_dblayeroo_{ENGINE} extends PHPUnit_Framework_TestCase
|
|||||||
{
|
{
|
||||||
$tbl1 = $this->tbl1 ();
|
$tbl1 = $this->tbl1 ();
|
||||||
$res = $tbl1->listTables ();
|
$res = $tbl1->listTables ();
|
||||||
$this->assertSame (array (
|
if ($this->engine === "sqlite")
|
||||||
0 => 'grouped',
|
$this->assertSame (array (
|
||||||
1 => 'groupedoo',
|
0 => 'groupedoo',
|
||||||
2 => 'multiple',
|
1 => 'rightsoo',
|
||||||
3 => 'multiple2',
|
2 => 'usersoo',
|
||||||
4 => 'readOR',
|
), $res);
|
||||||
5 => 'rightsoo',
|
else
|
||||||
6 => 'users',
|
$this->assertSame (array (
|
||||||
7 => 'users3',
|
0 => 'grouped',
|
||||||
8 => 'usersoo',
|
1 => 'groupedoo',
|
||||||
), $res);
|
2 => 'multiple',
|
||||||
|
3 => 'multiple2',
|
||||||
|
4 => 'readOR',
|
||||||
|
5 => 'rightsoo',
|
||||||
|
6 => 'users',
|
||||||
|
7 => 'users3',
|
||||||
|
8 => 'usersoo',
|
||||||
|
), $res);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user