Skip to content

Commit

Permalink
#316 - fixing a bug in the MetricControllerTest::testDoGET() test cas…
Browse files Browse the repository at this point in the history
…e preventing it from looping over a directory of code as expected
  • Loading branch information
alphadevx committed Dec 11, 2017
1 parent b8ccd3f commit 87ebbf1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/Alpha/Test/Controller/MetricControllerTest.php
Expand Up @@ -63,7 +63,7 @@ public function testDoGET()

$front = new FrontController();

$request = new Request(array('method' => 'GET', 'URI' => '/metric', 'params' => array('dir' => './Alpha')));
$request = new Request(array('method' => 'GET', 'URI' => '/metric', 'params' => array('dir' => './Alpha/Controller')));
$response = $front->process($request);

$this->assertEquals(200, $response->getStatus(), 'Testing the doGET method');
Expand Down

0 comments on commit 87ebbf1

Please sign in to comment.