This repository was archived by the owner on Sep 12, 2021. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -16,18 +16,18 @@ protected function getPackageProviders($app)
1616 /** @test */
1717 public function it_can_set_a_custom_user_agent ()
1818 {
19- $ user_agent = " NiceUserAgent/1.0 " ;
20- $ this ->app ->config ->set (" chrome.user_agent " , $ user_agent );
21- $ command = ChromeHeadless::url (" https://example.com " )->setUserAgent ($ user_agent )->createCommand ();
19+ $ user_agent = ' NiceUserAgent/1.0 ' ;
20+ $ this ->app ->config ->set (' chrome.user_agent ' , $ user_agent );
21+ $ command = ChromeHeadless::url (' https://example.com ' )->setUserAgent ($ user_agent )->createCommand ();
2222 $ this ->assertContains (json_encode ($ user_agent ), $ command );
2323 }
2424
2525 /** @test */
2626 public function it_can_set_a_custom_chrome_path ()
2727 {
28- $ chrome_path = " google-chrome-stable " ;
29- $ this ->app ->config ->set (" chrome.exec_path " , $ chrome_path );
30- $ command = ChromeHeadless::url (" https://example.com " )->setChromePath ($ chrome_path )->createCommand ();
28+ $ chrome_path = ' google-chrome-stable ' ;
29+ $ this ->app ->config ->set (' chrome.exec_path ' , $ chrome_path );
30+ $ command = ChromeHeadless::url (' https://example.com ' )->setChromePath ($ chrome_path )->createCommand ();
3131 $ this ->assertContains (json_encode ($ chrome_path ), $ command );
3232 }
3333}
You can’t perform that action at this time.
0 commit comments