From da1432f69b9ad59c2104da032469e49ad7b26b83 Mon Sep 17 00:00:00 2001 From: Rasmus Tauts Date: Thu, 12 Oct 2023 10:55:25 +0300 Subject: [PATCH] fixup! Add company name to live observation confirmation alert message This PR adds company name to live observation alert. MOB-2739 --- GliaWidgetsTests/Sources/Glia/GliaTests+StartEngagement.swift | 2 ++ 1 file changed, 2 insertions(+) diff --git a/GliaWidgetsTests/Sources/Glia/GliaTests+StartEngagement.swift b/GliaWidgetsTests/Sources/Glia/GliaTests+StartEngagement.swift index 0bcafdf2a..71f79a606 100644 --- a/GliaWidgetsTests/Sources/Glia/GliaTests+StartEngagement.swift +++ b/GliaWidgetsTests/Sources/Glia/GliaTests+StartEngagement.swift @@ -210,6 +210,7 @@ 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) @@ -217,5 +218,6 @@ extension GliaTests { 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) } }