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

Triggered via pull request March 7, 2024 11:37
Status Failure
Total duration 3m 47s
Artifacts

build.yml

on: pull_request
Validate Terraform
16s
Validate Terraform
Deploy to preprod environment
0s
Deploy to preprod environment
Deploy to dev environment
0s
Deploy to dev environment
Deploy to production environment
0s
Deploy to production environment
Fit to window
Zoom out
Zoom in

Annotations

6 errors, 2 warnings, and 1 notice
TeacherIdentity.AuthServer.Tests.WebHooks.WebHooksEndToEndTests ► UserMerged_WhenPublished_IsOnlySentToWebHookEndpointsWhichSubscribe(webHookMessageTypesSubscribedTo: All, expectedToReceiveMessage: True): dotnet-authserver/tests/TeacherIdentity.AuthServer.Tests/WebHooks/WebHookRequestObserver.cs#L22
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
TeacherIdentity.AuthServer.Tests.WebHooks.WebHooksEndToEndTests ► UserMerged_WhenPublished_IsOnlySentToWebHookEndpointsWhichSubscribe(webHookMessageTypesSubscribedTo: UserMerged | UserCreated, expectedToReceiveMessage: True): dotnet-authserver/tests/TeacherIdentity.AuthServer.Tests/WebHooks/WebHookRequestObserver.cs#L22
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
TeacherIdentity.AuthServer.Tests.WebHooks.WebHooksEndToEndTests ► UserMerged_WhenPublished_IsOnlySentToWebHookEndpointsWhichSubscribe(webHookMessageTypesSubscribedTo: UserMerged, expectedToReceiveMessage: True): dotnet-authserver/tests/TeacherIdentity.AuthServer.Tests/WebHooks/WebHookRequestObserver.cs#L22
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
TeacherIdentity.AuthServer.Tests.WebHooks.WebHooksEndToEndTests ► UserMerged_WhenPublished_IsOnlySentToWebHookEndpointsWhichSubscribe(webHookMessageTypesSubscribedTo: UserUpdated | UserMerged, expectedToReceiveMessage: True): dotnet-authserver/tests/TeacherIdentity.AuthServer.Tests/WebHooks/WebHookRequestObserver.cs#L22
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
Build & test
Process completed with exit code 1.
Build & test
Failed test were found and 'fail-on-error' option is set to true
Validate Terraform
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, hashicorp/setup-terraform@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Build & test
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: azure/login@v1, actions/checkout@v3, actions/setup-dotnet@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Build & test
Linting changed files only