summaryrefslogtreecommitdiffstats
path: root/tests/Utils/QueryTest.php
diff options
context:
space:
mode:
authorMichal Čihař <michal@cihar.com>2016-04-06 15:56:24 +0200
committerMichal Čihař <michal@cihar.com>2016-04-06 15:56:24 +0200
commitec788810957bb91c7ae2655fb8361a49aa82f9db (patch)
tree23e9696219e583be004b7504b96c1a0903f39598 /tests/Utils/QueryTest.php
parente43ce956a1419fe16ea677b226be51f610163a42 (diff)
downloadsql-parser-ec788810957bb91c7ae2655fb8361a49aa82f9db.zip
sql-parser-ec788810957bb91c7ae2655fb8361a49aa82f9db.tar.gz
sql-parser-ec788810957bb91c7ae2655fb8361a49aa82f9db.tar.bz2
Fix order of parameters to avoid confusing error messages
Signed-off-by: Michal Čihař <michal@cihar.com>
Diffstat (limited to 'tests/Utils/QueryTest.php')
-rw-r--r--tests/Utils/QueryTest.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/Utils/QueryTest.php b/tests/Utils/QueryTest.php
index 46c89ef..e73696b 100644
--- a/tests/Utils/QueryTest.php
+++ b/tests/Utils/QueryTest.php
@@ -346,8 +346,8 @@ class QueryTest extends TestCase
{
$parser = new Parser($query);
$this->assertEquals(
- Query::getTables($parser->statements[0]),
- $expected
+ $expected,
+ Query::getTables($parser->statements[0])
);
}