From 1a950f1cd0ea1eb2579d1ff672050d0decfda3a5 Mon Sep 17 00:00:00 2001 From: "Khan Mohammad R." Date: Mon, 8 Apr 2024 13:34:41 +0200 Subject: [PATCH] Changed expected text in the test --- test/UnitTest/TestingControllers/InstancesControllerTests.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/UnitTest/TestingControllers/InstancesControllerTests.cs b/test/UnitTest/TestingControllers/InstancesControllerTests.cs index f77e81b1..8e30d69d 100644 --- a/test/UnitTest/TestingControllers/InstancesControllerTests.cs +++ b/test/UnitTest/TestingControllers/InstancesControllerTests.cs @@ -478,7 +478,7 @@ public async Task GetMany_UserRequestsInstancesNoPartyIdDefined_ReturnsBadReques HttpClient client = GetTestClient(); string token = PrincipalUtil.GetToken(3, 1337); client.DefaultRequestHeaders.Authorization = new AuthenticationHeaderValue("Bearer", token); - string expected = "InstanceOwnerPartyId must be defined."; + string expected = "Either InstanceOwnerPartyId or InstanceOwnerIdentifier must need to be defined."; // Act HttpResponseMessage response = await client.GetAsync(requestUri);