Add PocketBase client with contracts and sharp build tooling

This commit is contained in:
tleininger committed 2026-09-22 19:32:32 +02:00
1 parent 56922707ea
commit 251f2d818b
24 files changed
+578 -20

No files matched your search

+4 -4
View File
@@ -48,9 +48,9 @@ public sealed class RouteSmokeTests : IClassFixture<WebApplicationFactory<Progra
{
var client = _factory.CreateClient();
var response = await client.GetAsync(route);
var response = await client.GetAsync(new Uri(route, UriKind.Relative));
Assert.Equal(HttpStatusCode.OK, response.StatusCode);
response.StatusCode.ShouldBe(HttpStatusCode.OK);
}
[Theory]
@@ -60,8 +60,8 @@ public sealed class RouteSmokeTests : IClassFixture<WebApplicationFactory<Progra
{
var client = _factory.CreateClient();
var response = await client.GetAsync(route);
var response = await client.GetAsync(new Uri(route, UriKind.Relative));
Assert.Equal(HttpStatusCode.NotFound, response.StatusCode);
response.StatusCode.ShouldBe(HttpStatusCode.NotFound);
}
}