示例#1
0
 public function testGetMigrationPathReturnsNullForNoPath()
 {
     $config = new \Phinx\Config\Config(array());
     $this->assertNull($config->getMigrationPath());
 }
示例#2
0
 /**
  * @expectedException UnexpectedValueException
  */
 public function testGetMigrationPathThrowsExceptionForNoPath()
 {
     $config = new \Phinx\Config\Config(array());
     $config->getMigrationPath();
 }