コード例 #1
0
 /**
  * Unnecessarily aiming for 100% code coverage here
  */
 public function testNullParamForConfigurationGetsValue()
 {
     (new Aurex($env = $this->factory->create('dev'), new Injector(), []))->getConfiguration('dev');
 }
コード例 #2
0
ファイル: DevEnvironmentTest.php プロジェクト: j7mbo/aurex
 /**
  * Tests that the default dev environment updates xdebug settings
  */
 public function testDefaultDevEnvironmentSetsDebugToTrue()
 {
     $env = $this->factory->create('dev');
     $env->perform($aurex = new Aurex(new DevEnvironment(), new Injector(), []));
     $this->assertTrue($aurex['debug']);
 }