Skip to content

Convert test suite to TUnit #29

Convert test suite to TUnit

Convert test suite to TUnit #29

Triggered via pull request January 6, 2025 11:12
@HawxyHawxy
synchronize #17
build2
Status Failure
Total duration 1m 8s
Artifacts

Build_&_Test.yml

on: pull_request
ubuntu-latest
59s
ubuntu-latest
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 11 warnings
ubuntu-latest
[xUnit.net 00:00:01.65] Fga.Net.Tests.Unit.ExtensionTests.InvalidConfiguration_ThrowsException(scenario: Empty API Key) [FAIL]
ubuntu-latest
[xUnit.net 00:00:01.68] Fga.Net.Tests.Unit.ExtensionTests.InvalidConfiguration_ThrowsException(scenario: Empty Schema) [FAIL]
ubuntu-latest
[xUnit.net 00:00:01.73] Fga.Net.Tests.Unit.ExtensionTests.InvalidConfiguration_ThrowsException(scenario: Empty OIDC configuration) [FAIL]
ubuntu-latest
[xUnit.net 00:00:01.80] Fga.Net.Tests.Unit.ExtensionTests.InvalidConfiguration_ThrowsException(scenario: Empty API Key) [FAIL]
ubuntu-latest
[xUnit.net 00:00:01.80] Fga.Net.Tests.Unit.ExtensionTests.InvalidConfiguration_ThrowsException(scenario: Empty Schema) [FAIL]
ubuntu-latest
[xUnit.net 00:00:01.81] Fga.Net.Tests.Unit.ExtensionTests.InvalidConfiguration_ThrowsException(scenario: Empty Extension Config - Auth0 FGA) [FAIL]
ubuntu-latest
[xUnit.net 00:00:01.81] Fga.Net.Tests.Unit.ExtensionTests.ClientExtensions_RegisterCorrectly(scenario: Auth0 FGA) [FAIL]
ubuntu-latest
[xUnit.net 00:00:01.82] Fga.Net.Tests.Unit.ExtensionTests.ClientExtensions_RegisterCorrectly(scenario: OpenFGA - OIDC Auth) [FAIL]
ubuntu-latest
[xUnit.net 00:00:01.82] Fga.Net.Tests.Unit.ExtensionTests.ClientExtensions_RegisterCorrectly(scenario: OpenFGA - No Credentials) [FAIL]
ubuntu-latest
[xUnit.net 00:00:01.82] Fga.Net.Tests.Unit.ExtensionTests.ClientExtensions_RegisterCorrectly(scenario: OpenFGA - API Key Auth) [FAIL]
ubuntu-latest
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
ubuntu-latest
/home/runner/work/Fga.Net/Fga.Net/src/Fga.Net/FgaConfigurationBuilder.cs(52,27): warning CS1574: XML comment has cref attribute 'MaxRetry' that could not be resolved [/home/runner/work/Fga.Net/Fga.Net/src/Fga.Net/Fga.Net.DependencyInjection.csproj::TargetFramework=net9.0]
ubuntu-latest
/home/runner/work/Fga.Net/Fga.Net/src/Fga.Net/FgaConfigurationBuilder.cs(60,27): warning CS1574: XML comment has cref attribute 'MinWaitInMs' that could not be resolved [/home/runner/work/Fga.Net/Fga.Net/src/Fga.Net/Fga.Net.DependencyInjection.csproj::TargetFramework=net9.0]
ubuntu-latest
/home/runner/work/Fga.Net/Fga.Net/src/Fga.Net/FgaConfigurationBuilder.cs(69,27): warning CS1574: XML comment has cref attribute 'Telemetry' that could not be resolved [/home/runner/work/Fga.Net/Fga.Net/src/Fga.Net/Fga.Net.DependencyInjection.csproj::TargetFramework=net9.0]
ubuntu-latest
/home/runner/work/Fga.Net/Fga.Net/src/Fga.Net/FgaConfigurationBuilder.cs(52,27): warning CS1574: XML comment has cref attribute 'MaxRetry' that could not be resolved [/home/runner/work/Fga.Net/Fga.Net/src/Fga.Net/Fga.Net.DependencyInjection.csproj::TargetFramework=net8.0]
ubuntu-latest
/home/runner/work/Fga.Net/Fga.Net/src/Fga.Net/FgaConfigurationBuilder.cs(60,27): warning CS1574: XML comment has cref attribute 'MinWaitInMs' that could not be resolved [/home/runner/work/Fga.Net/Fga.Net/src/Fga.Net/Fga.Net.DependencyInjection.csproj::TargetFramework=net8.0]
ubuntu-latest
/home/runner/work/Fga.Net/Fga.Net/src/Fga.Net/FgaConfigurationBuilder.cs(69,27): warning CS1574: XML comment has cref attribute 'Telemetry' that could not be resolved [/home/runner/work/Fga.Net/Fga.Net/src/Fga.Net/Fga.Net.DependencyInjection.csproj::TargetFramework=net8.0]
ubuntu-latest
/home/runner/work/Fga.Net/Fga.Net/tests/Fga.Net.Tests/Client/EndpointTests.cs(32,36): warning xUnit1051: Calls to methods which accept CancellationToken should use TestContext.Current.CancellationToken to allow test cancellation to be more responsive. (https://xunit.net/xunit.analyzers/rules/xUnit1051) [/home/runner/work/Fga.Net/Fga.Net/tests/Fga.Net.Tests/Fga.Net.Tests.csproj::TargetFramework=net8.0]
ubuntu-latest
/home/runner/work/Fga.Net/Fga.Net/tests/Fga.Net.Tests/Client/EndpointTests.cs(40,35): warning xUnit1051: Calls to methods which accept CancellationToken should use TestContext.Current.CancellationToken to allow test cancellation to be more responsive. (https://xunit.net/xunit.analyzers/rules/xUnit1051) [/home/runner/work/Fga.Net/Fga.Net/tests/Fga.Net.Tests/Fga.Net.Tests.csproj::TargetFramework=net8.0]
ubuntu-latest
/home/runner/work/Fga.Net/Fga.Net/tests/Fga.Net.Tests/Client/EndpointTests.cs(45,32): warning xUnit1051: Calls to methods which accept CancellationToken should use TestContext.Current.CancellationToken to allow test cancellation to be more responsive. (https://xunit.net/xunit.analyzers/rules/xUnit1051) [/home/runner/work/Fga.Net/Fga.Net/tests/Fga.Net.Tests/Fga.Net.Tests.csproj::TargetFramework=net8.0]
ubuntu-latest
/home/runner/work/Fga.Net/Fga.Net/tests/Fga.Net.Tests/Client/EndpointTests.cs(55,27): warning xUnit1051: Calls to methods which accept CancellationToken should use TestContext.Current.CancellationToken to allow test cancellation to be more responsive. (https://xunit.net/xunit.analyzers/rules/xUnit1051) [/home/runner/work/Fga.Net/Fga.Net/tests/Fga.Net.Tests/Fga.Net.Tests.csproj::TargetFramework=net8.0]