Fix test harness casing and exclude test sources from app
This commit is contained in:
@@ -13,6 +13,6 @@ internal class StubHttpClientFactory : IHttpClientFactory
|
||||
|
||||
public HttpClient CreateClient(string name)
|
||||
{
|
||||
return new HttpClient(_handler, dispose: false);
|
||||
return new HttpClient(_handler, disposeHandler: false);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -41,6 +41,6 @@ internal static class TestClientExtensions
|
||||
|
||||
response.EnsureSuccessStatusCode();
|
||||
var json = await response.Content.ReadFromJsonAsync<JsonElement>();
|
||||
return json.GetProperty("Id").GetInt32();
|
||||
return json.GetProperty("id").GetInt32();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user