Explorar o código

- new test case for JOINs

git-svn-id: http://svn.code.sf.net/p/itop/code/trunk@86 a333f486-631f-4898-b8df-5754b55c2be0
dflaven %!s(int64=16) %!d(string=hai) anos
pai
achega
51cf7facdf
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      pages/testlist.inc.php

+ 1 - 0
pages/testlist.inc.php

@@ -820,6 +820,7 @@ class TestQueriesOnFarm extends TestBizModel
 			'SELECT Mammal AS m WHERE 1/0' => true,
 			'SELECT Mammal AS m WHERE MONTH(m.birth) = 7' => true,
 			'SELECT Animal JOIN Group ON Group.leader = Animal.id' => true,
+			'SELECT Group JOIN Animal ON Group.leader = Animal.id' => true,
 			'SELECT Animal AS A JOIN Group AS G1 ON G1.leader = A.id' => true,
 			'SELECT Animal AS A JOIN Group AS G ON FooClass.leader = A.id' => false,
 			'SELECT Animal AS A JOIN Group AS G ON G.leader = FooClass.id' => false,