public function testEmptySubgroup() { $dq = new DataQuery('DataQueryTest_A'); $dq->conjunctiveGroup(); // Empty groups should have no where condition at all $this->assertSQLNotContains('WHERE', $dq->sql($parameters)); }
public function testEmptySubgroup() { $dq = new DataQuery('DataQueryTest_A'); $dq->conjunctiveGroup(); $this->assertContains('WHERE (1=1)', $dq->sql()); }