Skip to content

Commit

Permalink
Remove createMock
Browse files Browse the repository at this point in the history
  • Loading branch information
caioguedes committed Dec 24, 2016
1 parent 98b478b commit 540253b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/Phinx/Db/Adapter/AdapterFactoryTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ public function testRegisterWrapperFailure()

private function getAdapterMock()
{
return $this->createMock('Phinx\Db\Adapter\AdapterInterface');
return $this->getMockBuilder('Phinx\Db\Adapter\AdapterInterface')->getMock();
}

public function testGetWrapper()
Expand Down

0 comments on commit 540253b

Please sign in to comment.