Skip to content

Commit

Permalink
use self::assertSame()
Browse files Browse the repository at this point in the history
  • Loading branch information
tacman authored Jul 22, 2024
1 parent a93dc82 commit 7862fc4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/PantherBrowserTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,10 @@ public function can_use_panther_browser_as_typehint(): void
public function can_configure_directories(): void
{
$this->browser()->setScreenshotDir($screenshotDir = '/path/to/screenshot');
assert($this->browser()->getScreenshotDir() === $screenshotDir);
self::assertSame($this->browser()->getScreenshotDir(), $screenshotDir);

$this->browser()->setConsoleLogDir($logDir = '/path/to/consoleLogs');
assert($this->browser()->getScreenshotDir() === $logDir);
self::assertSame($this->browser()->getScreenshotDir(), $logDir);
}

/**
Expand Down

0 comments on commit 7862fc4

Please sign in to comment.