From cd0f28b5a795c0c22410667722983f3c70471353 Mon Sep 17 00:00:00 2001 From: Oded Betzalel Date: Mon, 6 Mar 2017 11:59:58 +0200 Subject: [PATCH] fixing unit tests --- BluemixAppIDTests/ConfigTests.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/BluemixAppIDTests/ConfigTests.swift b/BluemixAppIDTests/ConfigTests.swift index 149a35c..a1dfc82 100644 --- a/BluemixAppIDTests/ConfigTests.swift +++ b/BluemixAppIDTests/ConfigTests.swift @@ -21,11 +21,11 @@ public class ConfigTests: XCTestCase { AppID.sharedInstance = AppID() // no region and tenant let appid = AppID.sharedInstance - XCTAssertEqual("https://mobileclientaccess", Config.getServerUrl(appId: appid)) + XCTAssertEqual("https://appid-oauth", Config.getServerUrl(appId: appid)) // with region and tenant appid.initialize(tenantId: "sometenant", bluemixRegion: ".region") - XCTAssertEqual("https://mobileclientaccess.region/oauth/v3/sometenant", Config.getServerUrl(appId: appid)) + XCTAssertEqual("https://appid-oauth.region/oauth/v3/sometenant", Config.getServerUrl(appId: appid)) // with overrideserverhost AppID.overrideServerHost = "somehost/"