示例#1
0
 public function testHasEnvironmentMethod()
 {
     $configArray = $this->getConfigArray();
     $config = new \Phinx\Config\Config($configArray);
     $this->assertTrue($config->hasEnvironment('testing'));
     $this->assertFalse($config->hasEnvironment('fakeenvironment'));
 }