Example #1
0
 protected function setUp()
 {
     parent::setUp();
     $this->connection = get_test_connection();
     $this->connection->setName("Conn 1");
     //        $this->connection->setDebugLog(new FileLog());
     $this->connection->exec("DELETE FROM test");
     $this->connection->exec("DELETE FROM test2");
     $this->connection->resetQueryCount();
 }
Example #2
0
 protected function setUp()
 {
     parent::setUp();
     $this->connection2 = clone $this->connection;
     $this->connection2->setName("Conn 2");
 }