Skip to content

Commit

Permalink
fix variable name typo
Browse files Browse the repository at this point in the history
  • Loading branch information
inoas committed Mar 10, 2017
1 parent 4ed2646 commit 4c40f2f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/TestCase/Error/ExceptionRendererTest.php
Expand Up @@ -430,7 +430,7 @@ public function testError400AsJson()
Router::setRequestInfo($request);

$exception = new NotFoundException('Custom message');
$execptionLine = __LINE__ - 1;
$exceptionLine = __LINE__ - 1;
$ExceptionRenderer = new ExceptionRenderer($exception);
$ExceptionRenderer->controller->response = $this->getMockBuilder('Cake\Network\Response')
->setMethods(['statusCode', '_sendHeader'])
Expand All @@ -443,7 +443,7 @@ public function testError400AsJson()
'url' => '/posts/view/1000?sort=title&direction=desc',
'code' => 404,
'file' => __FILE__,
'line' => $execptionLine
'line' => $exceptionLine
];

$this->assertEquals($expected, json_decode($result, true));
Expand Down

0 comments on commit 4c40f2f

Please sign in to comment.