Skip to content

Commit

Permalink
-
Browse files Browse the repository at this point in the history
  • Loading branch information
OskarStark committed Oct 7, 2024
1 parent e9b5b46 commit 4b9d1fb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/ClientTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ public function testExecuteScript(): void

public function testExecuteScriptLogicExceptionWhenDriverIsNotStartedYet(): void
{
$this->expectException(LogicException::class);
$this->expectException(\LogicException::class);
$client = Client::createChromeClient();
$client->executeScript('return document.querySelector(arguments[0]).innerText;', ['.p-1']);
}
Expand Down
2 changes: 1 addition & 1 deletion tests/ProcessManager/WebServerManagerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ public function testPassPantherAppEnv(): void

public function testInvalidDocumentRoot(): void
{
$this->expectException(RuntimeException::class);
$this->expectException(\Symfony\Component\Process\Exception\RuntimeException::class);
$this->expectExceptionMessageMatches('#/not-exists#');

$server = new WebServerManager('/not-exists', '127.0.0.1', 1234);
Expand Down

0 comments on commit 4b9d1fb

Please sign in to comment.