public void TestStagingDataUrl() { var profileUrl = new ProfileUrl(profile, false); Assert.AreEqual("https://test-host/key#gid/" + GroupId + "/ati/" + AreaTypeId, profileUrl.DataUrl); }
public void TestLiveDataUrl() { var profileUrl = new ProfileUrl(profile, true); Assert.AreEqual("http://live-host/key#gid/" + GroupId + "/ati/" + AreaTypeId, profileUrl.DataUrl); }
public void TestLiveDataUrlForPracticeProfiles() { profile.ProfileId = ProfileIds.PracticeProfiles; var profileUrl = new ProfileUrl(profile, true); Assert.AreEqual("http://live-host/profile/general-practice/data", profileUrl.DataUrl); }