1
0
Fork 0
mirror of synced 2025-03-30 19:41:19 +03:00
doctrine2/tests/ExportPgsqlTestCase.php

18 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');
}
}
?>