Skip to content

add namespace braces

4e0d3da
Select commit
Loading
Failed to load commit list.
Open

split middleware, so ClaimsEnrichment middleware can be implemented #80

add namespace braces
4e0d3da
Select commit
Loading
Failed to load commit list.
Azure Pipelines / Functions Authorization failed Aug 15, 2025 in 6m 59s

Build #20250815.1 had test failures

Details

Tests

  • Failed: 2 (4.35%)
  • Passed: 43 (93.48%)
  • Other: 1 (2.17%)
  • Total: 46

Annotations

Check failure on line 77 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / Functions Authorization

Build log #L77

Error: The process 'C:\hostedtoolcache\windows\dotnet\dotnet.exe' failed with exit code 1

Check failure on line 82 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / Functions Authorization

Build log #L82

Dotnet command failed with non-zero exit code on the following projects : [ '' ]

Check failure on line 1 in Isolated.Tests.FunctionsAuthorizationMiddlewareTests.AuthorizationMiddleware: on success should set appropriate HttpContext features

See this annotation in the file changed.

@azure-pipelines azure-pipelines / Functions Authorization

Isolated.Tests.FunctionsAuthorizationMiddlewareTests.AuthorizationMiddleware: on success should set appropriate HttpContext features

Assert.IsNotNull failed. 
Raw output
   at Isolated.Tests.FunctionsAuthorizationMiddlewareTests.AuthorizationMiddlewareOnSuccessShouldSetAppropriateHttpContextFeatures() in D:\a\1\s\test\Isolated.Tests\FunctionsAuthorizationMiddlewareTests.cs:line 278
   at Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.ThreadOperations.ExecuteWithAbortSafety(Action action)

Check failure on line 1 in Isolated.Tests.FunctionsAuthorizationMiddlewareTests.AuthorizationMiddleware: should execute next delegate when failed authentication and allows anonymous

See this annotation in the file changed.

@azure-pipelines azure-pipelines / Functions Authorization

Isolated.Tests.FunctionsAuthorizationMiddlewareTests.AuthorizationMiddleware: should execute next delegate when failed authentication and allows anonymous

Test method Isolated.Tests.FunctionsAuthorizationMiddlewareTests.AuthorizationMiddlewareShouldExecuteNextDelegateWhenFailedAuthenticationAndAllowsAnonymous threw exception: 
System.ArgumentNullException: Exception of type 'System.ArgumentNullException' was thrown. (Parameter 'result')
Raw output
    at DarkLoop.Azure.Functions.Authorization.Internal.Check.NotNull(Object value, String name, String message) in D:\a\1\s\src\abstractions\Internal\Check.cs:line 18
   at DarkLoop.Azure.Functions.Authorization.FunctionAuthorizationContext`1..ctor(String functionName, TContext httpContext, AuthorizationPolicy policy, PolicyAuthorizationResult result) in D:\a\1\s\src\abstractions\FunctionAuthorizationContext.cs:line 33
   at DarkLoop.Azure.Functions.Authorization.FunctionsAuthorizationMiddleware.Invoke(FunctionContext context, FunctionExecutionDelegate next) in D:\a\1\s\src\isolated\FunctionsAuthorizationMiddleware.cs:line 96
   at Isolated.Tests.FunctionsAuthorizationMiddlewareTests.AuthorizationMiddlewareShouldExecuteNextDelegateWhenFailedAuthenticationAndAllowsAnonymous() in D:\a\1\s\test\Isolated.Tests\FunctionsAuthorizationMiddlewareTests.cs:line 185
   at Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.ThreadOperations.ExecuteWithAbortSafety(Action action)