From fd4b878832db0577bc11f73b4f30f14f7c0a7e5e Mon Sep 17 00:00:00 2001 From: Alex Neyman Date: Thu, 25 Jul 2024 09:40:58 -0400 Subject: [PATCH] Update authentication test to include isMicrosoftOwned case in getUser --- .../teams-test-app/e2e-test-data/authentication.json | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/apps/teams-test-app/e2e-test-data/authentication.json b/apps/teams-test-app/e2e-test-data/authentication.json index b0b3e85209..3762daab8b 100644 --- a/apps/teams-test-app/e2e-test-data/authentication.json +++ b/apps/teams-test-app/e2e-test-data/authentication.json @@ -54,6 +54,18 @@ "testUrlParams": [["appDefOverrides", "{\"isFullTrustApp\": true, \"isMicrosoftOwned\": false}"]], "expectedTestAppValue": "{\"oid\":\"mockoid\",\"tid\":\"mocktid\",\"upn\":\"mockupn\",\"loginHint\":\"mockLoginHint\",\"displayName\":\"mockName\",\"dataResidency\":\"public\"}" }, + { + "title": "getUser API Call - Success (Microsoft owned app)", + "version": ">2.25.0", + "hostSdkVersion": { + "web": ">3.1.0" + }, + "type": "callResponse", + "platformsExcluded": ["iOS"], + "boxSelector": "#box_getUser", + "testUrlParams": [["appDefOverrides", "{\"isFullTrustApp\": false, \"isMicrosoftOwned\": true}"]], + "expectedTestAppValue": "{\"oid\":\"mockoid\",\"tid\":\"mocktid\",\"upn\":\"mockupn\",\"loginHint\":\"mockLoginHint\",\"displayName\":\"mockName\",\"dataResidency\":\"public\"}" + }, { "title": "getUser API Call - Success (Full trust and Microsoft owned app)", "version": ">2.25.0",