vendor/robmorgan/phinx/tests/Phinx/Db/Adapter/MysqlAdapterTest.php 1 location
|
@@ 879-885 (lines=7) @@
|
876 |
|
$this->assertTrue($this->adapter->hasDatabase(TESTS_PHINX_DB_ADAPTER_MYSQL_DATABASE)); |
877 |
|
} |
878 |
|
|
879 |
|
public function testDropDatabase() |
880 |
|
{ |
881 |
|
$this->assertFalse($this->adapter->hasDatabase('phinx_temp_database')); |
882 |
|
$this->adapter->createDatabase('phinx_temp_database'); |
883 |
|
$this->assertTrue($this->adapter->hasDatabase('phinx_temp_database')); |
884 |
|
$this->adapter->dropDatabase('phinx_temp_database'); |
885 |
|
} |
886 |
|
|
887 |
|
public function testAddColumnWithComment() |
888 |
|
{ |
vendor/robmorgan/phinx/tests/Phinx/Db/Adapter/SQLiteAdapterTest.php 1 location
|
@@ 531-537 (lines=7) @@
|
528 |
|
$this->assertTrue($this->adapter->hasDatabase(TESTS_PHINX_DB_ADAPTER_SQLITE_DATABASE)); |
529 |
|
} |
530 |
|
|
531 |
|
public function testDropDatabase() |
532 |
|
{ |
533 |
|
$this->assertFalse($this->adapter->hasDatabase('phinx_temp_database')); |
534 |
|
$this->adapter->createDatabase('phinx_temp_database'); |
535 |
|
$this->assertTrue($this->adapter->hasDatabase('phinx_temp_database')); |
536 |
|
$this->adapter->dropDatabase('phinx_temp_database'); |
537 |
|
} |
538 |
|
|
539 |
|
public function testAddColumnWithComment() |
540 |
|
{ |
vendor/robmorgan/phinx/tests/Phinx/Db/Adapter/SqlServerAdapterTest.php 1 location
|
@@ 558-564 (lines=7) @@
|
555 |
|
$this->assertTrue($this->adapter->hasDatabase(TESTS_PHINX_DB_ADAPTER_SQLSRV_DATABASE)); |
556 |
|
} |
557 |
|
|
558 |
|
public function testDropDatabase() |
559 |
|
{ |
560 |
|
$this->assertFalse($this->adapter->hasDatabase('phinx_temp_database')); |
561 |
|
$this->adapter->createDatabase('phinx_temp_database'); |
562 |
|
$this->assertTrue($this->adapter->hasDatabase('phinx_temp_database')); |
563 |
|
$this->adapter->dropDatabase('phinx_temp_database'); |
564 |
|
} |
565 |
|
|
566 |
|
/** |
567 |
|
* @expectedException \RuntimeException |
vendor/robmorgan/phinx/tests/Phinx/Db/Adapter/PostgresAdapterTest.php 1 location
|
@@ 607-613 (lines=7) @@
|
604 |
|
$this->assertTrue($this->adapter->hasDatabase(TESTS_PHINX_DB_ADAPTER_POSTGRES_DATABASE)); |
605 |
|
} |
606 |
|
|
607 |
|
public function testDropDatabase() |
608 |
|
{ |
609 |
|
$this->assertFalse($this->adapter->hasDatabase('phinx_temp_database')); |
610 |
|
$this->adapter->createDatabase('phinx_temp_database'); |
611 |
|
$this->assertTrue($this->adapter->hasDatabase('phinx_temp_database')); |
612 |
|
$this->adapter->dropDatabase('phinx_temp_database'); |
613 |
|
} |
614 |
|
|
615 |
|
public function testCreateSchema() |
616 |
|
{ |