fixe tests
Some checks failed
Dotnet build and test / build (pull_request) Failing after 6m27s

This commit is contained in:
Paul Schneider 2026-09-12 16:49:36 +01:00
commit d92456e141
Signed by: notazof
GPG key ID: 1DD5D838E5343B06
6 changed files with 95 additions and 36 deletions

View file

@ -84,9 +84,11 @@ namespace Yavsc.Org.Tests
[Fact]
public async Task GetOpenIdConfiguration_returns_ok()
{
using var client = _serverFixture.CreateHttpClient();
using var client = CreateHttpClient();
var response = await GetRaw(client, "/.well-known/openid-configuration");
var payload = await response.Content.ReadAsStringAsync();
var payload = await response.Content.ReadAsStringAsync(
TestContext.Current.CancellationToken
);
Assert.True(
response.IsSuccessStatusCode,