File tree Expand file tree Collapse file tree 5 files changed +1
-16
lines changed Expand file tree Collapse file tree 5 files changed +1
-16
lines changed Original file line number Diff line number Diff line change 12
12
namespace Symfony \Component \DomCrawler \Tests ;
13
13
14
14
use PHPUnit \Framework \TestCase ;
15
- use Symfony \Bridge \PhpUnit \ForwardCompatTestTrait ;
16
15
use Symfony \Component \DomCrawler \Crawler ;
17
16
18
17
class CrawlerTest extends TestCase
19
18
{
20
- use ForwardCompatTestTrait;
21
-
22
19
public function testConstructor ()
23
20
{
24
21
$ crawler = new Crawler ();
Original file line number Diff line number Diff line change 11
11
12
12
namespace Symfony \Component \DomCrawler \Tests \Field ;
13
13
14
- use Symfony \Bridge \PhpUnit \ForwardCompatTestTrait ;
15
14
use Symfony \Component \DomCrawler \Field \FileFormField ;
16
15
17
16
class FileFormFieldTest extends FormFieldTestCase
18
17
{
19
- use ForwardCompatTestTrait;
20
-
21
18
public function testInitialize ()
22
19
{
23
20
$ node = $ this ->createNode ('input ' , '' , ['type ' => 'file ' ]);
Original file line number Diff line number Diff line change 12
12
namespace Symfony \Component \DomCrawler \Tests ;
13
13
14
14
use PHPUnit \Framework \TestCase ;
15
- use Symfony \Bridge \PhpUnit \ForwardCompatTestTrait ;
16
15
use Symfony \Component \DomCrawler \Form ;
17
16
use Symfony \Component \DomCrawler \FormFieldRegistry ;
18
17
19
18
class FormTest extends TestCase
20
19
{
21
- use ForwardCompatTestTrait;
22
-
23
- private static function doSetUpBeforeClass ()
20
+ public static function setUpBeforeClass ()
24
21
{
25
22
// Ensure that the private helper class FormFieldRegistry is loaded
26
23
class_exists ('Symfony \\Component \\DomCrawler \\Form ' );
Original file line number Diff line number Diff line change 12
12
namespace Symfony \Component \DomCrawler \Tests ;
13
13
14
14
use PHPUnit \Framework \TestCase ;
15
- use Symfony \Bridge \PhpUnit \ForwardCompatTestTrait ;
16
15
use Symfony \Component \DomCrawler \Image ;
17
16
18
17
class ImageTest extends TestCase
19
18
{
20
- use ForwardCompatTestTrait;
21
-
22
19
public function testConstructorWithANonImgTag ()
23
20
{
24
21
$ this ->expectException ('LogicException ' );
Original file line number Diff line number Diff line change 12
12
namespace Symfony \Component \DomCrawler \Tests ;
13
13
14
14
use PHPUnit \Framework \TestCase ;
15
- use Symfony \Bridge \PhpUnit \ForwardCompatTestTrait ;
16
15
use Symfony \Component \DomCrawler \Link ;
17
16
18
17
class LinkTest extends TestCase
19
18
{
20
- use ForwardCompatTestTrait;
21
-
22
19
public function testConstructorWithANonATag ()
23
20
{
24
21
$ this ->expectException ('LogicException ' );
You can’t perform that action at this time.
0 commit comments