From 1756e8a42f43dbc6fcd95f84ba59d3b194b329ea Mon Sep 17 00:00:00 2001 From: Dominique Fournier Date: Sun, 15 Jul 2018 18:43:51 +0000 Subject: [PATCH] dblayeroo : add listTables test git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4292 bf3deb0d-5f1a-0410-827f-c0cc1f45334c --- Tests/dblayerooComplet.php | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/Tests/dblayerooComplet.php b/Tests/dblayerooComplet.php index 37eefcb..3958adf 100644 --- a/Tests/dblayerooComplet.php +++ b/Tests/dblayerooComplet.php @@ -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); + } }