Esempio n. 1
0
 /**
  * Unnecessarily aiming for 100% code coverage here
  */
 public function testNullParamForConfigurationGetsValue()
 {
     (new Aurex($env = $this->factory->create('dev'), new Injector(), []))->getConfiguration('dev');
 }
Esempio n. 2
0
 /**
  * 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']);
 }