mirror of
https://github.com/silverstripe/silverstripe-behat-extension
synced 2024-10-22 17:05:32 +02:00
Improve compatability with phpunit 8
This commit is contained in:
parent
2a19212e17
commit
dae94f0f9a
@ -8,6 +8,7 @@ use Behat\Mink\Session;
|
||||
use Behat\Mink\Mink;
|
||||
use Behat\Mink\Driver\DriverInterface;
|
||||
use Behat\Mink\Element\Element;
|
||||
use PHPUnit\Framework\MockObject\MockObject;
|
||||
use PHPUnit\Framework\TestCase;
|
||||
use SilverStripe\BehatExtension\Tests\SilverStripeContextTest\FeatureContext;
|
||||
use SilverStripe\Dev\SapphireTest;
|
||||
@ -17,7 +18,7 @@ class SilverStripeContextTest extends TestCase
|
||||
|
||||
protected $backupGlobals = false;
|
||||
|
||||
public static function setUpBeforeClass()
|
||||
public static function setUpBeforeClass(): void
|
||||
{
|
||||
// Bootstrap test environment
|
||||
parent::setUpBeforeClass();
|
||||
@ -100,7 +101,7 @@ class SilverStripeContextTest extends TestCase
|
||||
}
|
||||
|
||||
/**
|
||||
* @return Element|\PHPUnit_Framework_MockObject_MockObject
|
||||
* @return Element|MockObject
|
||||
*/
|
||||
protected function getElementMock()
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user