Skip to content

Implement keyword-based dynamic text replacement #88

Implement keyword-based dynamic text replacement

Implement keyword-based dynamic text replacement #88

GitHub Actions / altinn.notifications.tests-check failed Nov 21, 2024 in 0s

ALTINN NOTIFICATIONS.TESTS

This test run completed at Thu, 21 Nov 2024 09:59:40 GMT

Details

Generic badge

Test Results - ALTINN NOTIFICATIONS.TESTS

Expand the following summaries for more details:

Duration: 8.387 seconds
Started: 2024-11-21T09:55:30.1037035+00:00
Creation: 2024-11-21T09:55:38.4904552+00:00
Queuing: 2024-11-21T09:55:36.6168555+00:00
Finished: 2024-11-21T09:55:38.4904552+00:00
Duration: 8.387 seconds
Outcome: Failed | Total Tests: 297 | Passed: 296 | Failed: 1
Total: 297
Executed: 297
Passed: 296
Failed: 1
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.Core.TestingModels.NotificationOrderTests.SerializeToJson
ID: 640b5d95-6e04-b040-6583-a79953bccd5a
Name: Altinn.Notifications.Tests.Notifications.Core.TestingModels.NotificationOrderTests.SerializeToJson
Outcome: Failed
Computer Name: fv-az700-143
Start: 2024-11-21T09:55:36.9631746+00:00
End: 2024-11-21T09:55:36.9631748+00:00
Duration: 00:00:00.0062895
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.Core.TestingModels.NotificationOrderTests
Method Name SerializeToJson
Error Message:
Assert.Equal() Failure: Strings differ
                                  ↓ (pos 273)
Expected: ···"tes":[{"$":"email","type":"Email","fromAd"···
Actual:   ···"tes":[{"$":"email","body":"email-body","c"···
                                  ↑ (pos 273)
Stack Trace:
at Altinn.Notifications.Tests.Notifications.Core.TestingModels.NotificationOrderTests.SerializeToJson() in /home/runner/work/altinn-notifications/altinn-notifications/test/Altinn.Notifications.Tests/Notifications.Core/TestingModels/NotificationOrderTests.cs:line 143
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
   at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)