Skip to content

Commit

Permalink
fixed unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
HillLiu committed Apr 1, 2021
1 parent 2bc568f commit 83c9900
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/TestCase-5.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,15 @@ public function testNone()

public function expectException($exception)
{
if (is_callable('parent::expectException')) {
parent::expectException($exception);
}
}

public function expectExceptionMessage($message)
{
if (is_callable('parent::expectExceptionMessage')) {
parent::expectExceptionMessage($message);
}
}
}

0 comments on commit 83c9900

Please sign in to comment.