Skip to content

Fix the properties on UserMergedMessage - they were backwards #3240

Fix the properties on UserMergedMessage - they were backwards

Fix the properties on UserMergedMessage - they were backwards #3240

GitHub Actions / Unit test results failed Mar 7, 2024 in 0s

1474 passed, 4 failed and 0 skipped

Tests failed

❌ dotnet-authserver/tests/TeacherIdentity.AuthServer.Tests/TestResults/_fv-az1205-398_2024-03-07_11_41_00.trx

1478 tests were completed in 24s with 1474 passed, 4 failed and 0 skipped.

Test suite Passed Failed Skipped Time
TeacherIdentity.AuthServer.Tests.AuthenticationStateTests 15✅ 82ms
TeacherIdentity.AuthServer.Tests.EndpointTests.Account.DateOfBirth.ConfirmTests 5✅ 4s
TeacherIdentity.AuthServer.Tests.EndpointTests.Account.DateOfBirth.DateOfBirthTests 9✅ 5s
TeacherIdentity.AuthServer.Tests.EndpointTests.Account.Email.ConfirmTests 10✅ 7s
TeacherIdentity.AuthServer.Tests.EndpointTests.Account.Email.EmailTests 12✅ 7s
TeacherIdentity.AuthServer.Tests.EndpointTests.Account.Email.ResendTests 11✅ 7s
TeacherIdentity.AuthServer.Tests.EndpointTests.Account.IndexTests 14✅ 8s
TeacherIdentity.AuthServer.Tests.EndpointTests.Account.Name.ConfirmTests 8✅ 133ms
TeacherIdentity.AuthServer.Tests.EndpointTests.Account.Name.NameTests 10✅ 5s
TeacherIdentity.AuthServer.Tests.EndpointTests.Account.OfficialDateOfBirth.ConfirmTests 8✅ 4s
TeacherIdentity.AuthServer.Tests.EndpointTests.Account.OfficialDateOfBirth.DetailsTests 10✅ 5s
TeacherIdentity.AuthServer.Tests.EndpointTests.Account.OfficialDateOfBirth.EvidenceTests 11✅ 6s
TeacherIdentity.AuthServer.Tests.EndpointTests.Account.OfficialDateOfBirth.OfficialDateOfBirthTests 4✅ 4s
TeacherIdentity.AuthServer.Tests.EndpointTests.Account.OfficialName.ConfirmTests 10✅ 6s
TeacherIdentity.AuthServer.Tests.EndpointTests.Account.OfficialName.DetailsTests 13✅ 6s
TeacherIdentity.AuthServer.Tests.EndpointTests.Account.OfficialName.EvidenceTests 15✅ 7s
TeacherIdentity.AuthServer.Tests.EndpointTests.Account.OfficialName.OfficialNameTests 3✅ 3s
TeacherIdentity.AuthServer.Tests.EndpointTests.Account.OfficialName.PreferredNameTests 8✅ 5s
TeacherIdentity.AuthServer.Tests.EndpointTests.Account.Phone.ConfirmTests 10✅ 7s
TeacherIdentity.AuthServer.Tests.EndpointTests.Account.Phone.PhoneTests 9✅ 7s
TeacherIdentity.AuthServer.Tests.EndpointTests.Account.Phone.ResendTests 8✅ 6s
TeacherIdentity.AuthServer.Tests.EndpointTests.Account.PreferredName.ConfirmTests 4✅ 5s
TeacherIdentity.AuthServer.Tests.EndpointTests.Account.PreferredName.PreferredNameTests 7✅ 4s
TeacherIdentity.AuthServer.Tests.EndpointTests.Admin.AddClientTests 7✅ 5s
TeacherIdentity.AuthServer.Tests.EndpointTests.Admin.AddStaffUserTests 7✅ 4s
TeacherIdentity.AuthServer.Tests.EndpointTests.Admin.AddUserImportTests 10✅ 6s
TeacherIdentity.AuthServer.Tests.EndpointTests.Admin.AddWebHookTests 6✅ 4s
TeacherIdentity.AuthServer.Tests.EndpointTests.Admin.AssignTrn.ConfirmTests 21✅ 363ms
TeacherIdentity.AuthServer.Tests.EndpointTests.Admin.AssignTrn.IndexTests 18✅ 8s
TeacherIdentity.AuthServer.Tests.EndpointTests.Admin.AssignTrn.RemoveTests 11✅ 7s
TeacherIdentity.AuthServer.Tests.EndpointTests.Admin.ClientsTests 3✅ 3s
TeacherIdentity.AuthServer.Tests.EndpointTests.Admin.EditClientTests 8✅ 7s
TeacherIdentity.AuthServer.Tests.EndpointTests.Admin.EditStaffUserTests 9✅ 6s
TeacherIdentity.AuthServer.Tests.EndpointTests.Admin.EditUserDateOfBirthTests 11✅ 7s
TeacherIdentity.AuthServer.Tests.EndpointTests.Admin.EditUserEmailTests 14✅ 8s
TeacherIdentity.AuthServer.Tests.EndpointTests.Admin.EditUserMobileNumberTests 13✅ 7s
TeacherIdentity.AuthServer.Tests.EndpointTests.Admin.EditUserNameTests 21✅ 9s
TeacherIdentity.AuthServer.Tests.EndpointTests.Admin.EditWebHookTests 14✅ 8s
TeacherIdentity.AuthServer.Tests.EndpointTests.Admin.ElevateUserTrnVerificationTests 6✅ 5s
TeacherIdentity.AuthServer.Tests.EndpointTests.Admin.GenerateTrnTokenTests 8✅ 4s
TeacherIdentity.AuthServer.Tests.EndpointTests.Admin.MergeUser.ChooseTrnTests 11✅ 7s
TeacherIdentity.AuthServer.Tests.EndpointTests.Admin.MergeUser.ConfirmTests 11✅ 8s
TeacherIdentity.AuthServer.Tests.EndpointTests.Admin.MergeUser.SelectUserTests 10✅ 6s
TeacherIdentity.AuthServer.Tests.EndpointTests.Admin.StaffTests 3✅ 3s
TeacherIdentity.AuthServer.Tests.EndpointTests.Admin.UserImportsTests 3✅ 4s
TeacherIdentity.AuthServer.Tests.EndpointTests.Admin.UserImportTests 5✅ 5s
TeacherIdentity.AuthServer.Tests.EndpointTests.Admin.UsersTests 42✅ 2s
TeacherIdentity.AuthServer.Tests.EndpointTests.Admin.UserTests 12✅ 7s
TeacherIdentity.AuthServer.Tests.EndpointTests.Admin.WebHooksTests 3✅ 2s
TeacherIdentity.AuthServer.Tests.EndpointTests.Api.SetJourneyTrnLookupStateTests 14✅ 7s
TeacherIdentity.AuthServer.Tests.EndpointTests.Api.V1.TrnTokens.CreateTrnTokenTests 6✅ 4s
TeacherIdentity.AuthServer.Tests.EndpointTests.Api.V1.Users.GetAllUsersTests 13✅ 244ms
TeacherIdentity.AuthServer.Tests.EndpointTests.Api.V1.Users.GetUserDetailTests 8✅ 7s
TeacherIdentity.AuthServer.Tests.EndpointTests.Api.V1.Users.SetTeacherTrnTests 14✅ 8s
TeacherIdentity.AuthServer.Tests.EndpointTests.Api.V1.Users.UpdateUserTests 11✅ 7s
TeacherIdentity.AuthServer.Tests.EndpointTests.Oidc.AuthorizeTests 25✅ 332ms
TeacherIdentity.AuthServer.Tests.EndpointTests.SignIn.CompleteTests 19✅ 8s
TeacherIdentity.AuthServer.Tests.EndpointTests.SignIn.Elevate.CheckAnswersTests 11✅ 157ms
TeacherIdentity.AuthServer.Tests.EndpointTests.SignIn.EmailConfirmationTests 27✅ 469ms
TeacherIdentity.AuthServer.Tests.EndpointTests.SignIn.EmailTests 20✅ 8s
TeacherIdentity.AuthServer.Tests.EndpointTests.SignIn.LandingTests 5✅ 4s
TeacherIdentity.AuthServer.Tests.EndpointTests.SignIn.Register.AccountExistsTests 15✅ 8s
TeacherIdentity.AuthServer.Tests.EndpointTests.SignIn.Register.CheckAnswersTests 19✅ 346ms
TeacherIdentity.AuthServer.Tests.EndpointTests.SignIn.Register.DateOfBirthPageTests 19✅ 7s
TeacherIdentity.AuthServer.Tests.EndpointTests.SignIn.Register.EmailConfirmationTests 20✅ 8s
TeacherIdentity.AuthServer.Tests.EndpointTests.SignIn.Register.EmailExistsTests 7✅ 5s
TeacherIdentity.AuthServer.Tests.EndpointTests.SignIn.Register.EmailTests 16✅ 7s
TeacherIdentity.AuthServer.Tests.EndpointTests.SignIn.Register.ExistingAccountEmailConfirmationTests 20✅ 6s
TeacherIdentity.AuthServer.Tests.EndpointTests.SignIn.Register.ExistingAccountPhoneConfirmationTests 22✅ 5s
TeacherIdentity.AuthServer.Tests.EndpointTests.SignIn.Register.ExistingAccountPhoneTests 14✅ 4s
TeacherIdentity.AuthServer.Tests.EndpointTests.SignIn.Register.HasNiNumberPageTests 20✅ 7s
TeacherIdentity.AuthServer.Tests.EndpointTests.SignIn.Register.HasQtsPageTests 22✅ 7s
TeacherIdentity.AuthServer.Tests.EndpointTests.SignIn.Register.HasTrnPageTests 20✅ 7s
TeacherIdentity.AuthServer.Tests.EndpointTests.SignIn.Register.InstitutionEmailTests 17✅ 7s
TeacherIdentity.AuthServer.Tests.EndpointTests.SignIn.Register.IttProviderTests 18✅ 7s
TeacherIdentity.AuthServer.Tests.EndpointTests.SignIn.Register.NameTests 18✅ 7s
TeacherIdentity.AuthServer.Tests.EndpointTests.SignIn.Register.NiNumberPageTests 19✅ 7s
TeacherIdentity.AuthServer.Tests.EndpointTests.SignIn.Register.PhoneConfirmationTests 21✅ 8s
TeacherIdentity.AuthServer.Tests.EndpointTests.SignIn.Register.PhoneExistsTests 7✅ 4s
TeacherIdentity.AuthServer.Tests.EndpointTests.SignIn.Register.PhoneTests 17✅ 6s
TeacherIdentity.AuthServer.Tests.EndpointTests.SignIn.Register.PreferredNamePageTests 15✅ 7s
TeacherIdentity.AuthServer.Tests.EndpointTests.SignIn.Register.ResendEmailConfirmationTests 19✅ 8s
TeacherIdentity.AuthServer.Tests.EndpointTests.SignIn.Register.ResendExistingAccountEmailTests 13✅ 5s
TeacherIdentity.AuthServer.Tests.EndpointTests.SignIn.Register.ResendExistingAccountPhoneTests 15✅ 4s
TeacherIdentity.AuthServer.Tests.EndpointTests.SignIn.Register.ResendPhoneConfirmationTests 17✅ 7s
TeacherIdentity.AuthServer.Tests.EndpointTests.SignIn.Register.TrnPageTests 20✅ 7s
TeacherIdentity.AuthServer.Tests.EndpointTests.SignIn.ResendEmailConfirmationTests 25✅ 7s
TeacherIdentity.AuthServer.Tests.EndpointTests.SignIn.ResendTrnOwnerEmailConfirmationTests 10✅ 6s
TeacherIdentity.AuthServer.Tests.EndpointTests.SignIn.TrnInUseChooseEmailTests 27✅ 8s
TeacherIdentity.AuthServer.Tests.EndpointTests.SignIn.TrnInUseTests 24✅ 8s
TeacherIdentity.AuthServer.Tests.HelperTests.NationalInsuranceNumberHelperTests 8✅ 5ms
TeacherIdentity.AuthServer.Tests.Jobs.PopulatePreferredNameJobTests 3✅ 47ms
TeacherIdentity.AuthServer.Tests.Jobs.RefreshEstablishmentDomainsJobTests 3✅ 3s
TeacherIdentity.AuthServer.Tests.Jobs.SyncNamesWithDqtJobTests 2✅ 42ms
TeacherIdentity.AuthServer.Tests.JourneyTests.TrnLookupHelperTests 21✅ 126ms
TeacherIdentity.AuthServer.Tests.ModelTests.ApplicationTests 10✅ 1ms
TeacherIdentity.AuthServer.Tests.ModelTests.EmailAddressTests 94✅ 16ms
TeacherIdentity.AuthServer.Tests.ModelTests.MobileNumberTests 28✅ 4ms
TeacherIdentity.AuthServer.Tests.Services.PublishEventsBackgroundServiceTests 3✅ 66ms
TeacherIdentity.AuthServer.Tests.Services.RedactorTests 9✅ 7ms
TeacherIdentity.AuthServer.Tests.Services.UserImportProcessorTests 25✅ 437ms
TeacherIdentity.AuthServer.Tests.Services.UserVerificationServiceTests 14✅ 8s
TeacherIdentity.AuthServer.Tests.UserClaimHelperTests 21✅ 8s
TeacherIdentity.AuthServer.Tests.UserRequirementsExtensionsTests 10✅ 73ms
TeacherIdentity.AuthServer.Tests.WebHooks.WebHooksEndToEndTests 33✅ 4❌ 859ms

❌ TeacherIdentity.AuthServer.Tests.WebHooks.WebHooksEndToEndTests

✅ Ping_WhenPublished_IsReceivedByWebHookEndpointRegardlessOfMessageTypesSubscribedTo(webHookMessageTypesSubscribedTo: All)
✅ Ping_WhenPublished_IsReceivedByWebHookEndpointRegardlessOfMessageTypesSubscribedTo(webHookMessageTypesSubscribedTo: UserCreated)
✅ Ping_WhenPublished_IsReceivedByWebHookEndpointRegardlessOfMessageTypesSubscribedTo(webHookMessageTypesSubscribedTo: UserMerged | UserCreated)
✅ Ping_WhenPublished_IsReceivedByWebHookEndpointRegardlessOfMessageTypesSubscribedTo(webHookMessageTypesSubscribedTo: UserMerged)
✅ Ping_WhenPublished_IsReceivedByWebHookEndpointRegardlessOfMessageTypesSubscribedTo(webHookMessageTypesSubscribedTo: UserUpdated | UserCreated)
✅ Ping_WhenPublished_IsReceivedByWebHookEndpointRegardlessOfMessageTypesSubscribedTo(webHookMessageTypesSubscribedTo: UserUpdated | UserMerged)
✅ Ping_WhenPublished_IsReceivedByWebHookEndpointRegardlessOfMessageTypesSubscribedTo(webHookMessageTypesSubscribedTo: UserUpdated)
✅ UserCreated_WhenPublished_IsOnlySentToWebHookEndpointsWhichSubscribe(webHookMessageTypesSubscribedTo: All, expectedToReceiveMessage: True)
✅ UserCreated_WhenPublished_IsOnlySentToWebHookEndpointsWhichSubscribe(webHookMessageTypesSubscribedTo: UserCreated, expectedToReceiveMessage: True)
✅ UserCreated_WhenPublished_IsOnlySentToWebHookEndpointsWhichSubscribe(webHookMessageTypesSubscribedTo: UserMerged | UserCreated, expectedToReceiveMessage: True)
✅ UserCreated_WhenPublished_IsOnlySentToWebHookEndpointsWhichSubscribe(webHookMessageTypesSubscribedTo: UserMerged, expectedToReceiveMessage: False)
✅ UserCreated_WhenPublished_IsOnlySentToWebHookEndpointsWhichSubscribe(webHookMessageTypesSubscribedTo: UserUpdated | UserCreated, expectedToReceiveMessage: True)
✅ UserCreated_WhenPublished_IsOnlySentToWebHookEndpointsWhichSubscribe(webHookMessageTypesSubscribedTo: UserUpdated | UserMerged, expectedToReceiveMessage: False)
✅ UserCreated_WhenPublished_IsOnlySentToWebHookEndpointsWhichSubscribe(webHookMessageTypesSubscribedTo: UserUpdated, expectedToReceiveMessage: False)
❌ UserMerged_WhenPublished_IsOnlySentToWebHookEndpointsWhichSubscribe(webHookMessageTypesSubscribedTo: All, expectedToReceiveMessage: True)
	Assert.Collection() Failure: Item comparison failure
	             ↓ (pos 0)
	Collection: [WebHookRequest { ContentType = application/json, Signature = 39BF8569148F733A9849A4687F0CEE4EA66A540F09140A66BE9F07AE10C5E42E, Body = {"notificationId":"e6d29b0e-41a0-4e7a-86ad-606ea4ac2e8c","timeUtc":"2020-04-01T11:12:13Z","messageType":"UserMerged","message":{"mergedUserId":"fbaa7f9a-b9dc-498f-a8a6-302211342fb0","masterUserId":"3828dc03-7500-402a-beeb-acd45b635fc3"}} }]
	Error:      JSON not equal
	            Actual is missing property: 'masterUser'
	            Path: $.message
✅ UserMerged_WhenPublished_IsOnlySentToWebHookEndpointsWhichSubscribe(webHookMessageTypesSubscribedTo: UserCreated, expectedToReceiveMessage: False)
❌ UserMerged_WhenPublished_IsOnlySentToWebHookEndpointsWhichSubscribe(webHookMessageTypesSubscribedTo: UserMerged | UserCreated, expectedToReceiveMessage: True)
	Assert.Collection() Failure: Item comparison failure
	             ↓ (pos 0)
	Collection: [WebHookRequest { ContentType = application/json, Signature = 4889048B55F155E6F46EABF2B5E59CC31455E5957E8934A637D687257A5CCF14, Body = {"notificationId":"2a4c9273-7615-4785-85a6-44b62d71fd6e","timeUtc":"2020-04-01T11:12:13Z","messageType":"UserMerged","message":{"mergedUserId":"9466fa3b-6442-4050-9a93-894918ecc549","masterUserId":"3828dc03-7500-402a-beeb-acd45b635fc3"}} }]
	Error:      JSON not equal
	            Actual is missing property: 'masterUser'
	            Path: $.message
❌ UserMerged_WhenPublished_IsOnlySentToWebHookEndpointsWhichSubscribe(webHookMessageTypesSubscribedTo: UserMerged, expectedToReceiveMessage: True)
	Assert.Collection() Failure: Item comparison failure
	             ↓ (pos 0)
	Collection: [WebHookRequest { ContentType = application/json, Signature = 8A8500274DF0B5EE01B7139741EDAB75A963CCD3847107F22B930350C9E806D2, Body = {"notificationId":"094b9f29-292b-4c53-a674-e472f13b67a2","timeUtc":"2020-04-01T11:12:13Z","messageType":"UserMerged","message":{"mergedUserId":"4f371d69-4423-483d-97d1-a45fa1a4880f","masterUserId":"3828dc03-7500-402a-beeb-acd45b635fc3"}} }]
	Error:      JSON not equal
	            Actual is missing property: 'masterUser'
	            Path: $.message
✅ UserMerged_WhenPublished_IsOnlySentToWebHookEndpointsWhichSubscribe(webHookMessageTypesSubscribedTo: UserUpdated | UserCreated, expectedToReceiveMessage: False)
❌ UserMerged_WhenPublished_IsOnlySentToWebHookEndpointsWhichSubscribe(webHookMessageTypesSubscribedTo: UserUpdated | UserMerged, expectedToReceiveMessage: True)
	Assert.Collection() Failure: Item comparison failure
	             ↓ (pos 0)
	Collection: [WebHookRequest { ContentType = application/json, Signature = 538A5F856D48E3B627B74D964D79CE152A30F0D4FC1FE195C061E706FB500CCC, Body = {"notificationId":"dc065904-e32f-4c50-a950-ff3c939a841c","timeUtc":"2020-04-01T11:12:13Z","messageType":"UserMerged","message":{"mergedUserId":"c810331e-82ed-4958-ae6f-5fd9fa13c4d2","masterUserId":"3828dc03-7500-402a-beeb-acd45b635fc3"}} }]
	Error:      JSON not equal
	            Actual is missing property: 'masterUser'
	            Path: $.message
✅ UserMerged_WhenPublished_IsOnlySentToWebHookEndpointsWhichSubscribe(webHookMessageTypesSubscribedTo: UserUpdated, expectedToReceiveMessage: False)
✅ UserUpdated_WhenPublished_IsOnlySentToWebHookEndpointsWhichSubscribe(webHookMessageTypesSubscribedTo: All, userUpdatedEventChanges: DateOfBirth, expectedToReceiveMessage: True)
✅ UserUpdated_WhenPublished_IsOnlySentToWebHookEndpointsWhichSubscribe(webHookMessageTypesSubscribedTo: UserCreated, userUpdatedEventChanges: DateOfBirth, expectedToReceiveMessage: False)
✅ UserUpdated_WhenPublished_IsOnlySentToWebHookEndpointsWhichSubscribe(webHookMessageTypesSubscribedTo: UserMerged | UserCreated, userUpdatedEventChanges: DateOfBirth, expectedToReceiveMessage: False)
✅ UserUpdated_WhenPublished_IsOnlySentToWebHookEndpointsWhichSubscribe(webHookMessageTypesSubscribedTo: UserMerged, userUpdatedEventChanges: DateOfBirth, expectedToReceiveMessage: False)
✅ UserUpdated_WhenPublished_IsOnlySentToWebHookEndpointsWhichSubscribe(webHookMessageTypesSubscribedTo: UserUpdated | UserCreated, userUpdatedEventChanges: DateOfBirth, expectedToReceiveMessage: True)
✅ UserUpdated_WhenPublished_IsOnlySentToWebHookEndpointsWhichSubscribe(webHookMessageTypesSubscribedTo: UserUpdated | UserMerged, userUpdatedEventChanges: DateOfBirth, expectedToReceiveMessage: True)
✅ UserUpdated_WhenPublished_IsOnlySentToWebHookEndpointsWhichSubscribe(webHookMessageTypesSubscribedTo: UserUpdated, userUpdatedEventChanges: DateOfBirth, expectedToReceiveMessage: True)
✅ UserUpdated_WhenPublished_IsOnlySentToWebHookEndpointsWhichSubscribe(webHookMessageTypesSubscribedTo: UserUpdated, userUpdatedEventChanges: EmailAddress | FirstName | LastName | DateOfBirth | Trn | TrnLookupStatus | MobileNumber | MiddleName | PreferredName, expectedToReceiveMessage: True)
✅ UserUpdated_WhenPublished_IsOnlySentToWebHookEndpointsWhichSubscribe(webHookMessageTypesSubscribedTo: UserUpdated, userUpdatedEventChanges: EmailAddress, expectedToReceiveMessage: True)
✅ UserUpdated_WhenPublished_IsOnlySentToWebHookEndpointsWhichSubscribe(webHookMessageTypesSubscribedTo: UserUpdated, userUpdatedEventChanges: FirstName, expectedToReceiveMessage: True)
✅ UserUpdated_WhenPublished_IsOnlySentToWebHookEndpointsWhichSubscribe(webHookMessageTypesSubscribedTo: UserUpdated, userUpdatedEventChanges: LastName, expectedToReceiveMessage: True)
✅ UserUpdated_WhenPublished_IsOnlySentToWebHookEndpointsWhichSubscribe(webHookMessageTypesSubscribedTo: UserUpdated, userUpdatedEventChanges: MiddleName, expectedToReceiveMessage: True)
✅ UserUpdated_WhenPublished_IsOnlySentToWebHookEndpointsWhichSubscribe(webHookMessageTypesSubscribedTo: UserUpdated, userUpdatedEventChanges: MobileNumber, expectedToReceiveMessage: True)
✅ UserUpdated_WhenPublished_IsOnlySentToWebHookEndpointsWhichSubscribe(webHookMessageTypesSubscribedTo: UserUpdated, userUpdatedEventChanges: PreferredName, expectedToReceiveMessage: True)
✅ UserUpdated_WhenPublished_IsOnlySentToWebHookEndpointsWhichSubscribe(webHookMessageTypesSubscribedTo: UserUpdated, userUpdatedEventChanges: Trn, expectedToReceiveMessage: True)
✅ UserUpdated_WhenPublished_IsOnlySentToWebHookEndpointsWhichSubscribe(webHookMessageTypesSubscribedTo: UserUpdated, userUpdatedEventChanges: TrnLookupStatus, expectedToReceiveMessage: True)

Annotations

Check failure on line 22 in dotnet-authserver/tests/TeacherIdentity.AuthServer.Tests/WebHooks/WebHookRequestObserver.cs

See this annotation in the file changed.

@github-actions github-actions / Unit test results

TeacherIdentity.AuthServer.Tests.WebHooks.WebHooksEndToEndTests ► UserMerged_WhenPublished_IsOnlySentToWebHookEndpointsWhichSubscribe(webHookMessageTypesSubscribedTo: All, expectedToReceiveMessage: True)

Failed test found in:
  dotnet-authserver/tests/TeacherIdentity.AuthServer.Tests/TestResults/_fv-az1205-398_2024-03-07_11_41_00.trx
Error:
  Assert.Collection() Failure: Item comparison failure
               ↓ (pos 0)
  Collection: [WebHookRequest { ContentType = application/json, Signature = 39BF8569148F733A9849A4687F0CEE4EA66A540F09140A66BE9F07AE10C5E42E, Body = {"notificationId":"e6d29b0e-41a0-4e7a-86ad-606ea4ac2e8c","timeUtc":"2020-04-01T11:12:13Z","messageType":"UserMerged","message":{"mergedUserId":"fbaa7f9a-b9dc-498f-a8a6-302211342fb0","masterUserId":"3828dc03-7500-402a-beeb-acd45b635fc3"}} }]
  Error:      JSON not equal
              Actual is missing property: 'masterUser'
              Path: $.message
Raw output
Assert.Collection() Failure: Item comparison failure
             ↓ (pos 0)
Collection: [WebHookRequest { ContentType = application/json, Signature = 39BF8569148F733A9849A4687F0CEE4EA66A540F09140A66BE9F07AE10C5E42E, Body = {"notificationId":"e6d29b0e-41a0-4e7a-86ad-606ea4ac2e8c","timeUtc":"2020-04-01T11:12:13Z","messageType":"UserMerged","message":{"mergedUserId":"fbaa7f9a-b9dc-498f-a8a6-302211342fb0","masterUserId":"3828dc03-7500-402a-beeb-acd45b635fc3"}} }]
Error:      JSON not equal
            Actual is missing property: 'masterUser'
            Path: $.message
   at TeacherIdentity.AuthServer.Tests.WebHooks.WebHookRequestObserver.AssertWebHookRequestsReceived(Action`1[] requestInspectors) in /home/runner/work/get-an-identity/get-an-identity/dotnet-authserver/tests/TeacherIdentity.AuthServer.Tests/WebHooks/WebHookRequestObserver.cs:line 22
   at TeacherIdentity.AuthServer.Tests.WebHooks.WebHooksEndToEndTests.UserMerged_WhenPublished_IsOnlySentToWebHookEndpointsWhichSubscribe(WebHookMessageTypes webHookMessageTypesSubscribedTo, Boolean expectedToReceiveMessage) in /home/runner/work/get-an-identity/get-an-identity/dotnet-authserver/tests/TeacherIdentity.AuthServer.Tests/WebHooks/WebHooksEndToEndTests.cs:line 396

Check failure on line 22 in dotnet-authserver/tests/TeacherIdentity.AuthServer.Tests/WebHooks/WebHookRequestObserver.cs

See this annotation in the file changed.

@github-actions github-actions / Unit test results

TeacherIdentity.AuthServer.Tests.WebHooks.WebHooksEndToEndTests ► UserMerged_WhenPublished_IsOnlySentToWebHookEndpointsWhichSubscribe(webHookMessageTypesSubscribedTo: UserMerged | UserCreated, expectedToReceiveMessage: True)

Failed test found in:
  dotnet-authserver/tests/TeacherIdentity.AuthServer.Tests/TestResults/_fv-az1205-398_2024-03-07_11_41_00.trx
Error:
  Assert.Collection() Failure: Item comparison failure
               ↓ (pos 0)
  Collection: [WebHookRequest { ContentType = application/json, Signature = 4889048B55F155E6F46EABF2B5E59CC31455E5957E8934A637D687257A5CCF14, Body = {"notificationId":"2a4c9273-7615-4785-85a6-44b62d71fd6e","timeUtc":"2020-04-01T11:12:13Z","messageType":"UserMerged","message":{"mergedUserId":"9466fa3b-6442-4050-9a93-894918ecc549","masterUserId":"3828dc03-7500-402a-beeb-acd45b635fc3"}} }]
  Error:      JSON not equal
              Actual is missing property: 'masterUser'
              Path: $.message
Raw output
Assert.Collection() Failure: Item comparison failure
             ↓ (pos 0)
Collection: [WebHookRequest { ContentType = application/json, Signature = 4889048B55F155E6F46EABF2B5E59CC31455E5957E8934A637D687257A5CCF14, Body = {"notificationId":"2a4c9273-7615-4785-85a6-44b62d71fd6e","timeUtc":"2020-04-01T11:12:13Z","messageType":"UserMerged","message":{"mergedUserId":"9466fa3b-6442-4050-9a93-894918ecc549","masterUserId":"3828dc03-7500-402a-beeb-acd45b635fc3"}} }]
Error:      JSON not equal
            Actual is missing property: 'masterUser'
            Path: $.message
   at TeacherIdentity.AuthServer.Tests.WebHooks.WebHookRequestObserver.AssertWebHookRequestsReceived(Action`1[] requestInspectors) in /home/runner/work/get-an-identity/get-an-identity/dotnet-authserver/tests/TeacherIdentity.AuthServer.Tests/WebHooks/WebHookRequestObserver.cs:line 22
   at TeacherIdentity.AuthServer.Tests.WebHooks.WebHooksEndToEndTests.UserMerged_WhenPublished_IsOnlySentToWebHookEndpointsWhichSubscribe(WebHookMessageTypes webHookMessageTypesSubscribedTo, Boolean expectedToReceiveMessage) in /home/runner/work/get-an-identity/get-an-identity/dotnet-authserver/tests/TeacherIdentity.AuthServer.Tests/WebHooks/WebHooksEndToEndTests.cs:line 396

Check failure on line 22 in dotnet-authserver/tests/TeacherIdentity.AuthServer.Tests/WebHooks/WebHookRequestObserver.cs

See this annotation in the file changed.

@github-actions github-actions / Unit test results

TeacherIdentity.AuthServer.Tests.WebHooks.WebHooksEndToEndTests ► UserMerged_WhenPublished_IsOnlySentToWebHookEndpointsWhichSubscribe(webHookMessageTypesSubscribedTo: UserMerged, expectedToReceiveMessage: True)

Failed test found in:
  dotnet-authserver/tests/TeacherIdentity.AuthServer.Tests/TestResults/_fv-az1205-398_2024-03-07_11_41_00.trx
Error:
  Assert.Collection() Failure: Item comparison failure
               ↓ (pos 0)
  Collection: [WebHookRequest { ContentType = application/json, Signature = 8A8500274DF0B5EE01B7139741EDAB75A963CCD3847107F22B930350C9E806D2, Body = {"notificationId":"094b9f29-292b-4c53-a674-e472f13b67a2","timeUtc":"2020-04-01T11:12:13Z","messageType":"UserMerged","message":{"mergedUserId":"4f371d69-4423-483d-97d1-a45fa1a4880f","masterUserId":"3828dc03-7500-402a-beeb-acd45b635fc3"}} }]
  Error:      JSON not equal
              Actual is missing property: 'masterUser'
              Path: $.message
Raw output
Assert.Collection() Failure: Item comparison failure
             ↓ (pos 0)
Collection: [WebHookRequest { ContentType = application/json, Signature = 8A8500274DF0B5EE01B7139741EDAB75A963CCD3847107F22B930350C9E806D2, Body = {"notificationId":"094b9f29-292b-4c53-a674-e472f13b67a2","timeUtc":"2020-04-01T11:12:13Z","messageType":"UserMerged","message":{"mergedUserId":"4f371d69-4423-483d-97d1-a45fa1a4880f","masterUserId":"3828dc03-7500-402a-beeb-acd45b635fc3"}} }]
Error:      JSON not equal
            Actual is missing property: 'masterUser'
            Path: $.message
   at TeacherIdentity.AuthServer.Tests.WebHooks.WebHookRequestObserver.AssertWebHookRequestsReceived(Action`1[] requestInspectors) in /home/runner/work/get-an-identity/get-an-identity/dotnet-authserver/tests/TeacherIdentity.AuthServer.Tests/WebHooks/WebHookRequestObserver.cs:line 22
   at TeacherIdentity.AuthServer.Tests.WebHooks.WebHooksEndToEndTests.UserMerged_WhenPublished_IsOnlySentToWebHookEndpointsWhichSubscribe(WebHookMessageTypes webHookMessageTypesSubscribedTo, Boolean expectedToReceiveMessage) in /home/runner/work/get-an-identity/get-an-identity/dotnet-authserver/tests/TeacherIdentity.AuthServer.Tests/WebHooks/WebHooksEndToEndTests.cs:line 396

Check failure on line 22 in dotnet-authserver/tests/TeacherIdentity.AuthServer.Tests/WebHooks/WebHookRequestObserver.cs

See this annotation in the file changed.

@github-actions github-actions / Unit test results

TeacherIdentity.AuthServer.Tests.WebHooks.WebHooksEndToEndTests ► UserMerged_WhenPublished_IsOnlySentToWebHookEndpointsWhichSubscribe(webHookMessageTypesSubscribedTo: UserUpdated | UserMerged, expectedToReceiveMessage: True)

Failed test found in:
  dotnet-authserver/tests/TeacherIdentity.AuthServer.Tests/TestResults/_fv-az1205-398_2024-03-07_11_41_00.trx
Error:
  Assert.Collection() Failure: Item comparison failure
               ↓ (pos 0)
  Collection: [WebHookRequest { ContentType = application/json, Signature = 538A5F856D48E3B627B74D964D79CE152A30F0D4FC1FE195C061E706FB500CCC, Body = {"notificationId":"dc065904-e32f-4c50-a950-ff3c939a841c","timeUtc":"2020-04-01T11:12:13Z","messageType":"UserMerged","message":{"mergedUserId":"c810331e-82ed-4958-ae6f-5fd9fa13c4d2","masterUserId":"3828dc03-7500-402a-beeb-acd45b635fc3"}} }]
  Error:      JSON not equal
              Actual is missing property: 'masterUser'
              Path: $.message
Raw output
Assert.Collection() Failure: Item comparison failure
             ↓ (pos 0)
Collection: [WebHookRequest { ContentType = application/json, Signature = 538A5F856D48E3B627B74D964D79CE152A30F0D4FC1FE195C061E706FB500CCC, Body = {"notificationId":"dc065904-e32f-4c50-a950-ff3c939a841c","timeUtc":"2020-04-01T11:12:13Z","messageType":"UserMerged","message":{"mergedUserId":"c810331e-82ed-4958-ae6f-5fd9fa13c4d2","masterUserId":"3828dc03-7500-402a-beeb-acd45b635fc3"}} }]
Error:      JSON not equal
            Actual is missing property: 'masterUser'
            Path: $.message
   at TeacherIdentity.AuthServer.Tests.WebHooks.WebHookRequestObserver.AssertWebHookRequestsReceived(Action`1[] requestInspectors) in /home/runner/work/get-an-identity/get-an-identity/dotnet-authserver/tests/TeacherIdentity.AuthServer.Tests/WebHooks/WebHookRequestObserver.cs:line 22
   at TeacherIdentity.AuthServer.Tests.WebHooks.WebHooksEndToEndTests.UserMerged_WhenPublished_IsOnlySentToWebHookEndpointsWhichSubscribe(WebHookMessageTypes webHookMessageTypesSubscribedTo, Boolean expectedToReceiveMessage) in /home/runner/work/get-an-identity/get-an-identity/dotnet-authserver/tests/TeacherIdentity.AuthServer.Tests/WebHooks/WebHooksEndToEndTests.cs:line 396