Skip to content

Commit d2eb263

Browse files
committed
test(personality-insights): unit test with a different service url
1 parent 5af3989 commit d2eb263

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/PersonalityInsights.v3.UnitTests/PersonalityInsightsServiceGeneratedUnitTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ public void ConstructorNoUrl()
8888
var url = System.Environment.GetEnvironmentVariable("PERSONALITY_INSIGHTS_URL");
8989
System.Environment.SetEnvironmentVariable("PERSONALITY_INSIGHTS_URL", null);
9090
PersonalityInsightsService service = Substitute.For<PersonalityInsightsService>("versionDate");
91-
Assert.IsTrue(service.ServiceUrl == "https://api.us-east.personality-insights.watson.cloud.ibm.com");
91+
Assert.IsTrue(service.ServiceUrl == "https://api.us-south.personality-insights.watson.cloud.ibm.com");
9292
System.Environment.SetEnvironmentVariable("PERSONALITY_INSIGHTS_URL", url);
9393
System.Environment.SetEnvironmentVariable("PERSONALITY_INSIGHTS_APIKEY", apikey);
9494
}

0 commit comments

Comments
 (0)