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:
2018-07-16 09:38:14 +00:00
parent 1756e8a42f
commit 98d5a042fc

View File

@@ -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);
} }
} }