/** * @expectedException \dokuwiki\plugin\struct\meta\StructException */ public function test_groupby_missing_alias() { $qb = new QueryBuilder(); $qb->addTable('first', 'T1'); $qb->addGroupByColumn('T2', 'foo'); }
/** * @expectedException \dokuwiki\plugin\struct\meta\StructException */ public function test_placeholderfail() { $qb = new QueryBuilder(); $qb->fixPlaceholders('this has unknown placeholder :!!val7!!:'); }