$this->conn->exec(PQ_TEST_DATA);
Table::$defaultConnection = $this->conn;
$this->table = new Table("test");
+ $this->table->getQueryExecutor()->attach(new \QueryLogger());
}
protected function tearDown() {
}
public function testDeleteFail() {
- $this->setExpectedException("pq\\Exception");
+ $this->setExpectedException("Exception");
$rowset = new Rowset($this->table);
$rowset->append(new Row($this->table, array("xx" => 0)))->delete();
}