Skip to content

Commit

Permalink
chore: update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
christyjacob4 committed May 23, 2024
1 parent 609c47a commit 79622eb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/e2e/Adapter/SentryTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ class SentryTest extends AdapterBase
protected function setUp(): void
{
parent::setUp();
$dsn = \getenv('TEST_SENTRY_DSN');
$parsed = parse_url($dsn ?? '');
$dsn = \getenv('TEST_SENTRY_DSN') ?? '';
$parsed = parse_url($dsn);
$host = $parsed['host'] ?? '';
$path = $parsed['path'] ?? '';
$path = ltrim($parsed['path'] ?? '', '/');
$user = $parsed['user'] ?? '';
$scheme = $parsed['scheme'] ?? '';

Expand Down

0 comments on commit 79622eb

Please sign in to comment.