Skip to content

Commit

Permalink
#316 - fixed a bug in the ControllerTest::testRightsAccess() test case
Browse files Browse the repository at this point in the history
  • Loading branch information
alphadevx committed Dec 19, 2017
1 parent 9c105f3 commit 4681c04
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/Alpha/Test/Controller/ControllerTest.php
Expand Up @@ -318,7 +318,7 @@ public function testRightsAccess()
$response = $front->process($request);

$this->assertEquals(403, $response->getStatus(), 'Testing that an admin page request is rejected');
$this->assertTrue(strpos($response->getBody(), 'not have the correct rights') !== false, 'Testing that an admin page request is rejected');
$this->assertTrue(strpos($response->getBody(), 'not have the correct access rights') !== false, 'Testing that an admin page request is rejected');
}

/**
Expand Down

0 comments on commit 4681c04

Please sign in to comment.