ExportPgsqlTestCase.php 534 Bytes
Newer Older
1
<?php
2
class Doctrine_Export_Pgsql_TestCase extends Doctrine_Export_TestCase {
3 4 5
    public function __construct() {
        parent::__construct('pgsql');
    }
6 7
    public function testCreateDatabaseExecutesSql() {
        $this->export->createDatabase('db');
8

9
        $this->assertEqual($this->adapter->pop(), 'CREATE DATABASE db');
10
    }
11 12
    public function testDropDatabaseExecutesSql() {
        $this->export->dropDatabase('db');
13

14
        $this->assertEqual($this->adapter->pop(), 'DROP DATABASE db');
15 16 17 18
    }

}
?>