File tree Expand file tree Collapse file tree 3 files changed +3
-12
lines changed Expand file tree Collapse file tree 3 files changed +3
-12
lines changed Original file line number Diff line number Diff line change 13
13
14
14
use PHPUnit \Framework \TestCase ;
15
15
use Symfony \Bridge \PhpUnit \ClockMock ;
16
- use Symfony \Bridge \PhpUnit \ForwardCompatTestTrait ;
17
16
18
17
/**
19
18
* @author Dominic Tubach <dominic.tubach@to.com>
22
21
*/
23
22
class ClockMockTest extends TestCase
24
23
{
25
- use ForwardCompatTestTrait;
26
-
27
- private static function doSetUpBeforeClass ()
24
+ public static function setUpBeforeClass ()
28
25
{
29
26
ClockMock::register (__CLASS__ );
30
27
}
31
28
32
- private function doSetUp ()
29
+ protected function setUp ()
33
30
{
34
31
ClockMock::withClockMock (1234567890.125 );
35
32
}
Original file line number Diff line number Diff line change 13
13
14
14
use PHPUnit \Framework \TestCase ;
15
15
use Symfony \Bridge \PhpUnit \DnsMock ;
16
- use Symfony \Bridge \PhpUnit \ForwardCompatTestTrait ;
17
16
18
17
class DnsMockTest extends TestCase
19
18
{
20
- use ForwardCompatTestTrait;
21
-
22
- private function doTearDown ()
19
+ protected function tearDown ()
23
20
{
24
21
DnsMock::withMockedHosts (array ());
25
22
}
Original file line number Diff line number Diff line change 3
3
namespace Symfony \Bridge \PhpUnit \Tests ;
4
4
5
5
use PHPUnit \Framework \TestCase ;
6
- use Symfony \Bridge \PhpUnit \ForwardCompatTestTrait ;
7
6
8
7
/**
9
8
* Don't remove this test case, it tests the legacy group.
14
13
*/
15
14
class ProcessIsolationTest extends TestCase
16
15
{
17
- use ForwardCompatTestTrait;
18
-
19
16
/**
20
17
* @expectedDeprecation Test abc
21
18
*/
You can’t perform that action at this time.
0 commit comments