Skip to content

Commit

Permalink
fixing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
tanderson-ld committed Jan 14, 2025
1 parent 6af4e53 commit fa307c2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions LaunchDarkly/LaunchDarklyTests/LDClientSpec.swift
Original file line number Diff line number Diff line change
Expand Up @@ -382,7 +382,7 @@ final class LDClientSpec: QuickSpec {
expect(testContext.serviceFactoryMock.makeEventReporterReceivedService?.context) == testContext.context
}
it("uncaches the new contexts flags") {
expect(testContext.featureFlagCachingMock.getCachedDataCallCount) == 2
expect(testContext.featureFlagCachingMock.getCachedDataCallCount) == 1
expect(testContext.featureFlagCachingMock.getCachedDataReceivedArguments?.cacheKey) == testContext.context.fullyQualifiedHashedKey()
}
it("records an identify event") {
Expand Down Expand Up @@ -421,7 +421,7 @@ final class LDClientSpec: QuickSpec {
expect(testContext.serviceFactoryMock.makeEventReporterReceivedService?.context) == testContext.context
}
it("uncaches the new contexts flags") {
expect(testContext.featureFlagCachingMock.getCachedDataCallCount) == 2
expect(testContext.featureFlagCachingMock.getCachedDataCallCount) == 1
expect(testContext.featureFlagCachingMock.getCachedDataReceivedArguments?.cacheKey) == testContext.context.fullyQualifiedHashedKey()
}
it("records an identify event") {
Expand Down

0 comments on commit fa307c2

Please sign in to comment.