Skip to content

Commit

Permalink
Fix test of exit view.
Browse files Browse the repository at this point in the history
  • Loading branch information
ShanMa1991 committed Sep 23, 2022
1 parent abfba69 commit 3b9528b
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -285,6 +285,7 @@ class InstructionsBannerViewIntegrationTests: InstructionBannerTest {

let presenter = InstructionPresenter(exitInstruction,
dataSource: label,
spriteRepository: spriteRepository,
traitCollection: traitCollection,
downloadCompletion: nil)

Expand All @@ -293,7 +294,7 @@ class InstructionsBannerViewIntegrationTests: InstructionBannerTest {
let cacheKey = [
exitCodeAttribute.cacheKey!,
ExitView.criticalHash(side: .right,
styleID: spriteRepository.styleID(for: .navigationDay),
styleID: spriteRepository.styleID(for: .phone),
dataSource: label,
traitCollection: traitCollection)
].joined(separator: "-")
Expand Down

0 comments on commit 3b9528b

Please sign in to comment.