Skip to content

Commit

Permalink
Fix for Raven_Tests_ClientTest::testCaptureLastError
Browse files Browse the repository at this point in the history
  • Loading branch information
nokitakaze committed Feb 14, 2017
1 parent e3e8fc7 commit 555df2d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/Raven/Tests/ClientTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -1013,6 +1013,9 @@ public function testCaptureExceptionInLatin1File()
*/
public function testCaptureLastError()
{
if (function_exists('error_clear_last')) {
error_clear_last();
}
$client = new Dummy_Raven_Client();
$this->assertNull($client->captureLastError());
$this->assertEquals(0, count($client->getSentEvents()));
Expand Down

0 comments on commit 555df2d

Please sign in to comment.