1
0
mirror of synced 2024-12-13 22:56:04 +03:00
doctrine2/tests/ExportPgsqlTestCase.php

19 lines
534 B
PHP

<?php
class Doctrine_Export_Pgsql_TestCase extends Doctrine_Export_TestCase {
public function __construct() {
parent::__construct('pgsql');
}
public function testCreateDatabaseExecutesSql() {
$this->export->createDatabase('db');
$this->assertEqual($this->adapter->pop(), 'CREATE DATABASE db');
}
public function testDropDatabaseExecutesSql() {
$this->export->dropDatabase('db');
$this->assertEqual($this->adapter->pop(), 'DROP DATABASE db');
}
}
?>