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 ();
|
||||
$res = $tbl1->listTables ();
|
||||
$this->assertSame (array (
|
||||
0 => 'grouped',
|
||||
1 => 'groupedoo',
|
||||
2 => 'multiple',
|
||||
3 => 'multiple2',
|
||||
4 => 'readOR',
|
||||
5 => 'rightsoo',
|
||||
6 => 'users',
|
||||
7 => 'users3',
|
||||
8 => 'usersoo',
|
||||
), $res);
|
||||
if ($this->engine === "sqlite")
|
||||
$this->assertSame (array (
|
||||
0 => 'groupedoo',
|
||||
1 => 'rightsoo',
|
||||
2 => 'usersoo',
|
||||
), $res);
|
||||
else
|
||||
$this->assertSame (array (
|
||||
0 => 'grouped',
|
||||
1 => 'groupedoo',
|
||||
2 => 'multiple',
|
||||
3 => 'multiple2',
|
||||
4 => 'readOR',
|
||||
5 => 'rightsoo',
|
||||
6 => 'users',
|
||||
7 => 'users3',
|
||||
8 => 'usersoo',
|
||||
), $res);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user