Skip to content
This repository was archived by the owner on Sep 12, 2021. It is now read-only.

Commit 6db37bc

Browse files
Merge pull request #2 from helloiamlukas/analysis-XlDN0J
Apply fixes from StyleCI
2 parents 9597230 + 201815f commit 6db37bc

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

tests/ChromeHeadlessServiceProviderTest.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff 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
}

0 commit comments

Comments
 (0)