We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1a27e78 commit 3b0f69cCopy full SHA for 3b0f69c
1 file changed
tests/FunctionsTest.php
@@ -43,7 +43,6 @@
43
use function Sentry\continueTrace;
44
use function Sentry\endContext;
45
use function Sentry\getBaggage;
46
-use function Sentry\getClient;
47
use function Sentry\getOtlpTracesEndpointUrl;
48
use function Sentry\getTraceparent;
49
use function Sentry\init;
@@ -61,7 +60,7 @@ public function testInit(): void
61
60
init(['default_integrations' => false]);
62
63
$this->assertNotNull(SentrySdk::getCurrentHub()->getClient());
64
- $this->assertSame(SentrySdk::getCurrentHub()->getClient(), getClient());
+ $this->assertSame(SentrySdk::getCurrentHub()->getClient(), SentrySdk::getClient());
65
}
66
67
public function testInitPreservesGlobalScope(): void
0 commit comments