コード例 #1
0
ファイル: ConfigTest.php プロジェクト: gtunes/phinx
 public function testGetMigrationPathReturnsNullForNoPath()
 {
     $config = new \Phinx\Config\Config(array());
     $this->assertNull($config->getMigrationPath());
 }
コード例 #2
0
ファイル: ConfigTest.php プロジェクト: askzap/ultimate
 /**
  * @expectedException UnexpectedValueException
  */
 public function testGetMigrationPathThrowsExceptionForNoPath()
 {
     $config = new \Phinx\Config\Config(array());
     $config->getMigrationPath();
 }