Push on main #24
GitHub Actions / .NET Tests
succeeded
Oct 12, 2024 in 1s
22 passed, 0 failed and 0 skipped
✅ test-results.trx
22 tests were completed in 3s with 22 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
Umbraco.Community.CSPManager.Tests.Controllers.CSPManagerApiControllerTests | 2✅ | 47ms | ||
Umbraco.Community.CSPManager.Tests.Middleware.CspMiddlewareTests | 9✅ | 238ms | ||
Umbraco.Community.CSPManager.Tests.Services.CspServiceTests | 11✅ | 2s |
✅ Umbraco.Community.CSPManager.Tests.Controllers.CSPManagerApiControllerTests
✅ SaveDefinition_CallsSaveAsync_WithValidDefinition
✅ SaveDefinition_ThrowsOn_Default_DefinitionId
✅ Umbraco.Community.CSPManager.Tests.Middleware.CspMiddlewareTests
✅ Backoffice disabled
✅ Backoffice enabled
✅ Backoffice Report Only
✅ CspMiddleware_OnlyRunsWithRuntimeRun(Boot,Never)
✅ CspMiddleware_OnlyRunsWithRuntimeRun(BootFailed,Never)
✅ CspMiddleware_OnlyRunsWithRuntimeRun(Install,Never)
✅ CspMiddleware_OnlyRunsWithRuntimeRun(Run,Once)
✅ CspMiddleware_OnlyRunsWithRuntimeRun(Unknown,Never)
✅ CspMiddleware_OnlyRunsWithRuntimeRun(Upgrade,Never)
✅ Umbraco.Community.CSPManager.Tests.Services.CspServiceTests
✅ Add a CSP Long Source to a Definition
✅ Add a CSP Source to a Definition
✅ GetCachedCspDefinition(False,False)
✅ GetCachedCspDefinition(False,True)
✅ GetCachedCspDefinition(True,False)
✅ GetCachedCspDefinition(True,True)
✅ GetCspDefinition_ReturnsDefaultDefinitionIfNoneIsStored(False)
✅ GetCspDefinition_ReturnsDefaultDefinitionIfNoneIsStored(True)
✅ GetCspDefinition_ReturnsStoredDefinition
✅ Remove a CSP Source from a Definition
✅ SaveCspDefinitionAsync_PublishesCspSavedNotification
Loading