1
0
mirror of synced 2025-01-07 09:37:11 +03:00
doctrine2/tests/ExportFirebirdTestCase.php

25 lines
690 B
PHP
Raw Normal View History

2006-11-22 03:19:00 +03:00
<?php
class Doctrine_Export_Firebird_TestCase extends Doctrine_Export_TestCase {
2006-11-22 03:19:00 +03:00
public function __construct() {
parent::__construct('firebird');
}
public function testCreateDatabaseDoesNotExecuteSql() {
try {
$this->export->createDatabase('db');
$this->fail();
} catch(Doctrine_Export_Firebird_Exception $e) {
$this->pass();
}
}
public function testDropDatabaseDoesNotExecuteSql() {
2006-11-22 03:19:00 +03:00
try {
$this->export->dropDatabase('db');
$this->fail();
} catch(Doctrine_Export_Firebird_Exception $e) {
$this->pass();
}
}
}
?>