From f212bec550b194247cd826f545a07cf3ab4407d0 Mon Sep 17 00:00:00 2001 From: Jleagle Date: Wed, 8 Oct 2014 15:09:42 +0100 Subject: [PATCH 1/2] Using the wrong Request class --- src/Kernel/EndpointKernel.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Kernel/EndpointKernel.php b/src/Kernel/EndpointKernel.php index 57a409a..aac6791 100644 --- a/src/Kernel/EndpointKernel.php +++ b/src/Kernel/EndpointKernel.php @@ -1,7 +1,7 @@ Date: Wed, 8 Oct 2014 15:12:02 +0100 Subject: [PATCH 2/2] Remove the enviroment incase it is set somewhere in the OS --- tests/Cubex/CubexTest.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/Cubex/CubexTest.php b/tests/Cubex/CubexTest.php index 8da6fa2..187a5c9 100644 --- a/tests/Cubex/CubexTest.php +++ b/tests/Cubex/CubexTest.php @@ -199,6 +199,8 @@ public function testConfigure() public function testEnv() { + putenv('CUBEX_ENV'); + $cubex = new \Cubex\Cubex(); $this->assertEquals('local', $cubex->env());