Ejemplo n.º 1
0
 public function testCreatingTheSchemaTableOnConnect()
 {
     $this->adapter->connect();
     $this->assertTrue($this->adapter->hasTable($this->adapter->getSchemaTableName()));
     $this->adapter->dropTable($this->adapter->getSchemaTableName());
     $this->assertFalse($this->adapter->hasTable($this->adapter->getSchemaTableName()));
     $this->adapter->disconnect();
     $this->adapter->connect();
     $this->assertTrue($this->adapter->hasTable($this->adapter->getSchemaTableName()));
 }