@@ -35,7 +35,7 @@ protected function setUp(): void
35
35
36
36
public function testBroadcastBasic (): void
37
37
{
38
- ($ client = self ::createPantherClient ())->request ('GET ' , '/books ' );
38
+ ($ client = self ::createPantherClient ([ ' browser ' => static :: FIREFOX ] ))->request ('GET ' , '/books ' );
39
39
40
40
$ crawler = $ client ->submitForm ('Submit ' , ['title ' => self ::BOOK_TITLE ]);
41
41
// $client->waitForElementToContain('#books div', self::BOOK_TITLE);
@@ -54,7 +54,7 @@ public function testBroadcastBasic(): void
54
54
55
55
public function testExpressionLanguageBroadcast (): void
56
56
{
57
- ($ client = self ::createPantherClient ())->request ('GET ' , '/artists ' );
57
+ ($ client = self ::createPantherClient ([ ' browser ' => static :: FIREFOX ] ))->request ('GET ' , '/artists ' );
58
58
59
59
$ client ->submitForm ('Submit ' , ['name ' => self ::ARTIST_NAME_1 ]);
60
60
$ client ->waitForElementToContain ('#artists div:nth-child(1) ' , self ::ARTIST_NAME_1 , 5 );
@@ -72,8 +72,8 @@ public function testExpressionLanguageBroadcast(): void
72
72
$ artist1Id = $ matches [1 ][0 ];
73
73
$ artist2Id = $ matches [1 ][1 ];
74
74
75
- ($ clientArtist1 = self ::createAdditionalPantherClient ())->request ('GET ' , '/artists/ ' .$ artist1Id );
76
- ($ clientArtist2 = self ::createAdditionalPantherClient ())->request ('GET ' , '/artists/ ' .$ artist2Id );
75
+ ($ clientArtist1 = self ::createAdditionalPantherClient ([ ' browser ' => static :: FIREFOX ] ))->request ('GET ' , '/artists/ ' .$ artist1Id );
76
+ ($ clientArtist2 = self ::createAdditionalPantherClient ([ ' browser ' => static :: FIREFOX ] ))->request ('GET ' , '/artists/ ' .$ artist2Id );
77
77
78
78
$ client ->request ('GET ' , '/songs ' );
79
79
@@ -93,7 +93,7 @@ public function testExpressionLanguageBroadcast(): void
93
93
public function testBroadcastWithProxy (): void
94
94
{
95
95
// testing that Artist is updated, even though it's saved as Proxy
96
- ($ client = self ::createPantherClient ())->request ('GET ' , '/artistFromSong ' );
96
+ ($ client = self ::createPantherClient ([ ' browser ' => static :: FIREFOX ] ))->request ('GET ' , '/artistFromSong ' );
97
97
98
98
// submit first time to create the artist
99
99
$ client ->submitForm ('Submit ' );
0 commit comments