dblayeroo : add listTables test

git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4292 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
This commit is contained in:
2018-07-15 18:43:51 +00:00
parent 8669bf4063
commit 1756e8a42f

View File

@@ -1058,4 +1058,21 @@ class test_dblayeroo_{ENGINE} extends PHPUnit_Framework_TestCase
'groups' => 'group1 group2'
)), $res);
}
public function test_listTables_1 ()
{
$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);
}
}