Skip to content

Commit

Permalink
Fixed broken view test
Browse files Browse the repository at this point in the history
  • Loading branch information
CameronHall committed Nov 27, 2018
1 parent 3377042 commit fe1b3d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/unit/Mvc/ViewTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -669,7 +669,7 @@ function () {
try {
echo $a_cool_var;
$this->fail('Variable a_cool_var is defined and is set to "' . $a_cool_var . '"');
} catch (\PHPUnit_Framework_Exception $e) {
} catch (\PHPUnit\Framework\Exception $e) {
expect($e->getMessage())->contains("Undefined variable: a_cool_var");
}
}
Expand Down

0 comments on commit fe1b3d8

Please sign in to comment.