Skip to content

Commit

Permalink
fixup! Add company name to live observation confirmation alert message
Browse files Browse the repository at this point in the history
This PR adds company name to live observation alert.

MOB-2739
  • Loading branch information
rasmustautsglia committed Oct 12, 2023
1 parent 2c038b7 commit da1432f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions GliaWidgetsTests/Sources/Glia/GliaTests+StartEngagement.swift
Original file line number Diff line number Diff line change
Expand Up @@ -210,12 +210,14 @@ extension GliaTests {
let theme = Theme()
theme.call.connect.queue.firstText = "Glia 1"
theme.chat.connect.queue.firstText = "Glia 2"
theme.alertConfiguration.liveObservationConfirmation.message = "Glia 3"

try sdk.configure(with: .mock())
try sdk.startEngagement(engagementKind: .chat, in: ["queueId"], theme: theme)

let configuredSdkTheme = resultingViewFactory?.theme
XCTAssertEqual(configuredSdkTheme?.call.connect.queue.firstText, "Glia 1")
XCTAssertEqual(configuredSdkTheme?.chat.connect.queue.firstText, "Glia 2")
XCTAssertEqual(configuredSdkTheme?.alertConfiguration.liveObservationConfirmation.message?.contains("Glia 3"), true)
}
}

0 comments on commit da1432f

Please sign in to comment.