Skip to content

NationalIdentityNumber and OrganisationNumber added to Recipient models #43

NationalIdentityNumber and OrganisationNumber added to Recipient models

NationalIdentityNumber and OrganisationNumber added to Recipient models #43

GitHub Actions / altinn.notifications.tests-check failed Mar 5, 2024 in 0s

ALTINN NOTIFICATIONS.TESTS

This test run completed at Tue, 05 Mar 2024 16:01:42 GMT

Details

Generic badge

Test Results - ALTINN NOTIFICATIONS.TESTS

Expand the following summaries for more details:

Duration: 8.27 seconds
Started: 2024-03-05T15:58:10.1857026+00:00
Creation: 2024-03-05T15:58:18.4554781+00:00
Queuing: 2024-03-05T15:58:11.9995354+00:00
Finished: 2024-03-05T15:58:18.4554781+00:00
Duration: 8.27 seconds
Outcome: Failed | Total Tests: 148 | Passed: 143 | Failed: 5
Total: 148
Executed: 148
Passed: 143
Failed: 5
Error: 0
Timeout: 0
Aborted: 0
Inconclusive: 0
PassedButRunAborted: 0
NotRunnable: 0
NotExecuted: 0
Disconnected: 0
Warning: 0
Completed: 0
InProgress: 0
Pending: 0
❌ Altinn.Notifications.Tests.Notifications.TestingMappers.SmsNotificationSummaryMapperTests.MapToSmsNotificationWithResultExt_NotificationWithFailedResult_AreEquivalent
ID: 6f02fdf3-9afd-0f9c-4d3e-a9c7b5ba177b
Name: Altinn.Notifications.Tests.Notifications.TestingMappers.SmsNotificationSummaryMapperTests.MapToSmsNotificationWithResultExt_NotificationWithFailedResult_AreEquivalent
Outcome: Failed
Computer Name: fv-az525-146
Start: 2024-03-05T15:58:11.9248170+00:00
End: 2024-03-05T15:58:11.9248171+00:00
Duration: 00:00:00.0309133
Test Method Details:
Code Base /home/runner/work/altinn-notifications/altinn-notifications/test/Altinn.Notifications.Tests/bin/Release/net8.0/Altinn.Notifications.Tests.dll
Class Name Altinn.Notifications.Tests.Notifications.TestingMappers.SmsNotificationSummaryMapperTests
Method Name MapToSmsNotificationWithResultExt_NotificationWithFailedResult_AreEquivalent
Error Message:
Assert.Equivalent() Failure: Mismatched value on member 'Recipient.OrganisationNumber'
Expected: null
Actual:   "12345678910"
Stack Trace:
at Altinn.Notifications.Tests.Notifications.TestingMappers.SmsNotificationSummaryMapperTests.MapToSmsNotificationWithResultExt_NotificationWithFailedResult_AreEquivalent() in /home/runner/work/altinn-notifications/altinn-notifications/test/Altinn.Notifications.Tests/Notifications/TestingMappers/SmsNotificationSummaryMapperTests.cs:line 68
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
   at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)
❌ Altinn.Notifications.Tests.Notifications.TestingMappers.SmsNotificationSummaryMapperTests.MapToSmsNotificationWithResultExt_NotificationWithSuccessResult_AreEquivalent
ID: fab576b5-26e8-0171-4b00-c20edee269f5
Name: Altinn.Notifications.Tests.Notifications.TestingMappers.SmsNotificationSummaryMapperTests.MapToSmsNotificationWithResultExt_NotificationWithSuccessResult_AreEquivalent
Outcome: Failed
Computer Name: fv-az525-146
Start: 2024-03-05T15:58:11.9664811+00:00
End: 2024-03-05T15:58:11.9664813+00:00
Duration: 00:00:00.0006173
Test Method Details:
Code Base /home/runner/work/altinn-notifications/altinn-notifications/test/Altinn.Notifications.Tests/bin/Release/net8.0/Altinn.Notifications.Tests.dll
Class Name Altinn.Notifications.Tests.Notifications.TestingMappers.SmsNotificationSummaryMapperTests
Method Name MapToSmsNotificationWithResultExt_NotificationWithSuccessResult_AreEquivalent
Error Message:
Assert.Equivalent() Failure: Mismatched value on member 'Recipient.NationalIdentityNumber'
Expected: null
Actual:   "16069412345"
Stack Trace:
at Altinn.Notifications.Tests.Notifications.TestingMappers.SmsNotificationSummaryMapperTests.MapToSmsNotificationWithResultExt_NotificationWithSuccessResult_AreEquivalent() in /home/runner/work/altinn-notifications/altinn-notifications/test/Altinn.Notifications.Tests/Notifications/TestingMappers/SmsNotificationSummaryMapperTests.cs:line 111
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
   at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)
❌ Altinn.Notifications.Tests.Notifications.TestingMappers.OrderMapperTests.MapToRecipientExt_AllPropertiesPresent_AreEquivalent
ID: 44f1a9f6-a8b9-ccd6-bff4-9f4d2d7c688e
Name: Altinn.Notifications.Tests.Notifications.TestingMappers.OrderMapperTests.MapToRecipientExt_AllPropertiesPresent_AreEquivalent
Outcome: Failed
Computer Name: fv-az525-146
Start: 2024-03-05T15:58:12.7903147+00:00
End: 2024-03-05T15:58:12.7903148+00:00
Duration: 00:00:00.0058491
Test Method Details:
Code Base /home/runner/work/altinn-notifications/altinn-notifications/test/Altinn.Notifications.Tests/bin/Release/net8.0/Altinn.Notifications.Tests.dll
Class Name Altinn.Notifications.Tests.Notifications.TestingMappers.OrderMapperTests
Method Name MapToRecipientExt_AllPropertiesPresent_AreEquivalent
Error Message:
Assert.Equivalent() Failure: Collection value not found
Expected: RecipientExt { EmailAddress = "[email protected]", MobileNumber = "+4740000001", NationalIdentityNumber = null, OrganisationNumber = null }
In:       [RecipientExt { EmailAddress = "[email protected]", MobileNumber = "+4740000001", NationalIdentityNumber = "nationalidentitynumber", OrganisationNumber = null }]
Stack Trace:
at Altinn.Notifications.Tests.Notifications.TestingMappers.OrderMapperTests.MapToRecipientExt_AllPropertiesPresent_AreEquivalent() in /home/runner/work/altinn-notifications/altinn-notifications/test/Altinn.Notifications.Tests/Notifications/TestingMappers/OrderMapperTests.cs:line 105
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
   at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)
❌ Altinn.Notifications.Tests.Notifications.TestingMappers.EmailNotificationSummaryMapperTests.MapToEmailNotificationWithResultExt_NotificationWithSuccessResult_AreEquivalent
ID: 64b418e7-a8fc-5edd-2308-a0894da33762
Name: Altinn.Notifications.Tests.Notifications.TestingMappers.EmailNotificationSummaryMapperTests.MapToEmailNotificationWithResultExt_NotificationWithSuccessResult_AreEquivalent
Outcome: Failed
Computer Name: fv-az525-146
Start: 2024-03-05T15:58:11.9690100+00:00
End: 2024-03-05T15:58:11.9690101+00:00
Duration: 00:00:00.0004350
Test Method Details:
Code Base /home/runner/work/altinn-notifications/altinn-notifications/test/Altinn.Notifications.Tests/bin/Release/net8.0/Altinn.Notifications.Tests.dll
Class Name Altinn.Notifications.Tests.Notifications.TestingMappers.EmailNotificationSummaryMapperTests
Method Name MapToEmailNotificationWithResultExt_NotificationWithSuccessResult_AreEquivalent
Error Message:
Assert.Equivalent() Failure: Mismatched value on member 'Recipient.OrganisationNumber'
Expected: null
Actual:   "12345678910"
Stack Trace:
at Altinn.Notifications.Tests.Notifications.TestingMappers.EmailNotificationSummaryMapperTests.MapToEmailNotificationWithResultExt_NotificationWithSuccessResult_AreEquivalent() in /home/runner/work/altinn-notifications/altinn-notifications/test/Altinn.Notifications.Tests/Notifications/TestingMappers/EmailNotificationSummaryMapperTests.cs:line 111
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
   at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)
❌ Altinn.Notifications.Tests.Notifications.TestingMappers.EmailNotificationSummaryMapperTests.MapToEmailNotificationWithResultExt_NotificationWithFailedResult_AreEquivalent
ID: c60f93db-9e09-fc6e-199c-08fcf92b00b9
Name: Altinn.Notifications.Tests.Notifications.TestingMappers.EmailNotificationSummaryMapperTests.MapToEmailNotificationWithResultExt_NotificationWithFailedResult_AreEquivalent
Outcome: Failed
Computer Name: fv-az525-146
Start: 2024-03-05T15:58:11.9675046+00:00
End: 2024-03-05T15:58:11.9675047+00:00
Duration: 00:00:00.0043765
Test Method Details:
Code Base /home/runner/work/altinn-notifications/altinn-notifications/test/Altinn.Notifications.Tests/bin/Release/net8.0/Altinn.Notifications.Tests.dll
Class Name Altinn.Notifications.Tests.Notifications.TestingMappers.EmailNotificationSummaryMapperTests
Method Name MapToEmailNotificationWithResultExt_NotificationWithFailedResult_AreEquivalent
Error Message:
Assert.Equivalent() Failure: Mismatched value on member 'Recipient.NationalIdentityNumber'
Expected: null
Actual:   "16069412345"
Stack Trace:
at Altinn.Notifications.Tests.Notifications.TestingMappers.EmailNotificationSummaryMapperTests.MapToEmailNotificationWithResultExt_NotificationWithFailedResult_AreEquivalent() in /home/runner/work/altinn-notifications/altinn-notifications/test/Altinn.Notifications.Tests/Notifications/TestingMappers/EmailNotificationSummaryMapperTests.cs:line 68
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
   at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)