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 1313
1414use PHPUnit \Framework \TestCase ;
1515use Symfony \Bridge \PhpUnit \ClockMock ;
16- use Symfony \Bridge \PhpUnit \ForwardCompatTestTrait ;
1716
1817/**
1918 * @author Dominic Tubach <dominic.tubach@to.com>
2221 */
2322class ClockMockTest extends TestCase
2423{
25- use ForwardCompatTestTrait;
26-
27- private static function doSetUpBeforeClass ()
24+ public static function setUpBeforeClass ()
2825 {
2926 ClockMock::register (__CLASS__ );
3027 }
3128
32- private function doSetUp ()
29+ protected function setUp ()
3330 {
3431 ClockMock::withClockMock (1234567890.125 );
3532 }
Original file line number Diff line number Diff line change 1313
1414use PHPUnit \Framework \TestCase ;
1515use Symfony \Bridge \PhpUnit \DnsMock ;
16- use Symfony \Bridge \PhpUnit \ForwardCompatTestTrait ;
1716
1817class DnsMockTest extends TestCase
1918{
20- use ForwardCompatTestTrait;
21-
22- private function doTearDown ()
19+ protected function tearDown ()
2320 {
2421 DnsMock::withMockedHosts (array ());
2522 }
Original file line number Diff line number Diff line change 33namespace Symfony \Bridge \PhpUnit \Tests ;
44
55use PHPUnit \Framework \TestCase ;
6- use Symfony \Bridge \PhpUnit \ForwardCompatTestTrait ;
76
87/**
98 * Don't remove this test case, it tests the legacy group.
1413 */
1514class ProcessIsolationTest extends TestCase
1615{
17- use ForwardCompatTestTrait;
18-
1916 /**
2017 * @expectedDeprecation Test abc
2118 */
You can’t perform that action at this time.
0 commit comments