Fixed tests for PHPUnit 5.7
This commit is contained in:
parent
8fd81ce5aa
commit
4d380a4aa4
8 changed files with 46 additions and 61 deletions
|
|
@ -32,7 +32,7 @@ class UserServiceTest extends \PHPUnit_Framework_TestCase
|
|||
|
||||
public function setUp()
|
||||
{
|
||||
$this->mockUserStore = $this->getMock('PHPCensor\Store\UserStore');
|
||||
$this->mockUserStore = $this->getMockBuilder('PHPCensor\Store\UserStore')->getMock();
|
||||
$this->mockUserStore->expects($this->any())
|
||||
->method('save')
|
||||
->will($this->returnArgument(0));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue