Skip to content

Commit bddc25a

Browse files
authored
Merge pull request #138 from wirwolf/patch-1
Update MockFailedTest.php
2 parents c043bf2 + 5dee031 commit bddc25a

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)