Skip to content

Implemented condition client logic #70

Implemented condition client logic

Implemented condition client logic #70

GitHub Actions / altinn.notifications.integrationtests-check failed Jun 25, 2024 in 0s

ALTINN NOTIFICATIONS.INTEGRATIONTESTS

This test run completed at Tue, 25 Jun 2024 13:12:53 GMT

Details

Generic badge

Test Results - ALTINN NOTIFICATIONS.INTEGRATIONTESTS

Expand the following summaries for more details:

Duration: 16.095 seconds
Started: 2024-06-25T13:12:06.6422571+00:00
Creation: 2024-06-25T13:12:22.7377845+00:00
Queuing: 2024-06-25T13:12:13.0371170+00:00
Finished: 2024-06-25T13:12:22.7377845+00:00
Duration: 16.095 seconds
Outcome: Failed | Total Tests: 1 | Passed: 0 | Failed: 1
Total: 1
Executed: 1
Passed: 0
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.IntegrationTests.Notifications.TriggerController.Trigger_SendSmsNotificationsTests.Post_Ok
ID: fb55c0cd-dee1-4103-185a-3651923699c4
Name: Altinn.Notifications.IntegrationTests.Notifications.TriggerController.Trigger_SendSmsNotificationsTests.Post_Ok
Outcome: Failed
Computer Name: fv-az1109-24
Start: 2024-06-25T13:12:12.5646777+00:00
End: 2024-06-25T13:12:12.5646965+00:00
Duration: 00:00:00.7606905
Test Method Details:
Code Base /home/runner/work/altinn-notifications/altinn-notifications/test/Altinn.Notifications.IntegrationTests/bin/Release/net8.0/Altinn.Notifications.IntegrationTests.dll
Class Name Altinn.Notifications.IntegrationTests.Notifications.TriggerController.Trigger_SendSmsNotificationsTests
Method Name Post_Ok
Error Message:
System.AggregateException : One or more errors occurred. (Required MaskinportenSettings is missing from application configuration (Parameter 'config')) (Required MaskinportenSettings is missing from application configuration (Parameter 'config'))
---- System.ArgumentNullException : Required MaskinportenSettings is missing from application configuration (Parameter 'config')
---- System.ArgumentNullException : Required MaskinportenSettings is missing from application configuration (Parameter 'config')
Stack Trace:
----- Inner Stack Trace #1 (System.ArgumentNullException) -----
   at Altinn.Notifications.Integrations.Extensions.ServiceCollectionExtensions.AddAuthorizationService(IServiceCollection services, IConfiguration config) in /home/runner/work/altinn-notifications/altinn-notifications/src/Altinn.Notifications.Integrations/Extensions/ServiceCollectionExtensions.cs:line 78
   at Altinn.Notifications.IntegrationTests.Utils.ServiceUtil.GetServices(List`1 interfaceTypes, Dictionary`2 envVariables) in /home/runner/work/altinn-notifications/altinn-notifications/test/Altinn.Notifications.IntegrationTests/Utils/ServiceUtil.cs:line 43
   at Altinn.Notifications.IntegrationTests.Utils.PostgreUtil.PopulateDBWithOrderAndSmsNotification(String sendersReference) in /home/runner/work/altinn-notifications/altinn-notifications/test/Altinn.Notifications.IntegrationTests/Utils/PostgreUtil.cs:line 99
   at Altinn.Notifications.IntegrationTests.Notifications.TriggerController.Trigger_SendSmsNotificationsTests.Post_Ok() in /home/runner/work/altinn-notifications/altinn-notifications/test/Altinn.Notifications.IntegrationTests/Notifications/TriggerController/Trigger_SendSmsNotificationsTests.cs:line 55
--- End of stack trace from previous location ---
----- Inner Stack Trace #2 (System.ArgumentNullException) -----
   at Altinn.Notifications.Integrations.Extensions.ServiceCollectionExtensions.AddAuthorizationService(IServiceCollection services, IConfiguration config) in /home/runner/work/altinn-notifications/altinn-notifications/src/Altinn.Notifications.Integrations/Extensions/ServiceCollectionExtensions.cs:line 78
   at Altinn.Notifications.IntegrationTests.Utils.ServiceUtil.GetServices(List`1 interfaceTypes, Dictionary`2 envVariables) in /home/runner/work/altinn-notifications/altinn-notifications/test/Altinn.Notifications.IntegrationTests/Utils/ServiceUtil.cs:line 43
   at Altinn.Notifications.IntegrationTests.Utils.PostgreUtil.RunSql(String query) in /home/runner/work/altinn-notifications/altinn-notifications/test/Altinn.Notifications.IntegrationTests/Utils/PostgreUtil.cs:line 136
   at Altinn.Notifications.IntegrationTests.Utils.PostgreUtil.DeleteOrderFromDb(String sendersRef) in /home/runner/work/altinn-notifications/altinn-notifications/test/Altinn.Notifications.IntegrationTests/Utils/PostgreUtil.cs:line 118
   at Altinn.Notifications.IntegrationTests.Notifications.TriggerController.Trigger_SendSmsNotificationsTests.DisposeAsync() in /home/runner/work/altinn-notifications/altinn-notifications/test/Altinn.Notifications.IntegrationTests/Notifications/TriggerController/Trigger_SendSmsNotificationsTests.cs:line 43