Skip to content

Commit 9a2a4b8

Browse files
author
Andru Cherny
authored
Update MockFailedTest.php
1 parent c043bf2 commit 9a2a4b8

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

tests/unit/MockFailedTest.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,10 @@
99

1010
class MockFailedTest extends \PHPUnit_Framework_TestCase
1111
{
12+
1213
protected function setUp()
1314
{
14-
$this->setExpectedException('PHPUnit_Framework_ExpectationFailedException');
15+
$this->expectException('PHPUnit_Framework_ExpectationFailedException')
1516
}
1617

1718
protected function tearDown()
@@ -105,4 +106,4 @@ public function testAnythingFail()
105106
$anyProxy->verifyInvoked('hello');
106107
}
107108

108-
}
109+
}

0 commit comments

Comments
 (0)