mirror of
https://github.com/silverstripe/silverstripe-behat-extension
synced 2024-10-22 17:05:32 +02:00
Avoid deprecated PHPUnit APIs
This commit is contained in:
parent
187fd50a27
commit
55fd4a81af
@ -64,8 +64,8 @@ class SilverStripeContextTest extends \PHPUnit_Framework_TestCase
|
||||
->getMock();
|
||||
$sessionMock = $this->getMockBuilder('Behat\Mink\Session')
|
||||
->setConstructorArgs(array(
|
||||
$this->getMock('Behat\Mink\Driver\DriverInterface'),
|
||||
$this->getMock('Behat\Mink\Selector\SelectorsHandler')
|
||||
$this->getMockBuilder('Behat\Mink\Driver\DriverInterface')->getMock(),
|
||||
$this->getMockBuilder('Behat\Mink\Selector\SelectorsHandler')->getMock()
|
||||
))
|
||||
->setMethods(array('getPage'))
|
||||
->getMock();
|
||||
|
Loading…
Reference in New Issue
Block a user