@@ -35,7 +35,7 @@ protected function setUp(): void
3535
3636 public function testBroadcastBasic (): void
3737 {
38- ($ client = self ::createPantherClient ())->request ('GET ' , '/books ' );
38+ ($ client = self ::createPantherClient ([ ' browser ' => static :: FIREFOX ] ))->request ('GET ' , '/books ' );
3939
4040 $ crawler = $ client ->submitForm ('Submit ' , ['title ' => self ::BOOK_TITLE ]);
4141 // $client->waitForElementToContain('#books div', self::BOOK_TITLE);
@@ -54,7 +54,7 @@ public function testBroadcastBasic(): void
5454
5555 public function testExpressionLanguageBroadcast (): void
5656 {
57- ($ client = self ::createPantherClient ())->request ('GET ' , '/artists ' );
57+ ($ client = self ::createPantherClient ([ ' browser ' => static :: FIREFOX ] ))->request ('GET ' , '/artists ' );
5858
5959 $ client ->submitForm ('Submit ' , ['name ' => self ::ARTIST_NAME_1 ]);
6060 $ client ->waitForElementToContain ('#artists div:nth-child(1) ' , self ::ARTIST_NAME_1 , 5 );
@@ -72,8 +72,8 @@ public function testExpressionLanguageBroadcast(): void
7272 $ artist1Id = $ matches [1 ][0 ];
7373 $ artist2Id = $ matches [1 ][1 ];
7474
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 );
7777
7878 $ client ->request ('GET ' , '/songs ' );
7979
@@ -93,7 +93,7 @@ public function testExpressionLanguageBroadcast(): void
9393 public function testBroadcastWithProxy (): void
9494 {
9595 // 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 ' );
9797
9898 // submit first time to create the artist
9999 $ client ->submitForm ('Submit ' );
0 commit comments