Skip to content

Commit dd6fb88

Browse files
committed
dont call clearTestState
1 parent 97b6ff7 commit dd6fb88

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Tests/SentryTests/Integrations/Log/FlushLogsIntegrationTests.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,12 @@ final class FlushLogsIntegrationTests: XCTestCase {
3030

3131
override func tearDown() {
3232
super.tearDown()
33-
clearTestState()
33+
SentrySDKInternal.setCurrentHub(nil)
3434
sut = nil
3535
}
3636

3737
func testInstall_Success() {
38-
sut = FlushLogsIntegration(with: options, dependencies: dependencies)
38+
let sut = FlushLogsIntegration(with: options, dependencies: dependencies)
3939
XCTAssertNotNil(sut)
4040
}
4141

0 commit comments

Comments
 (0)