Skip to content

Commit 4ee8398

Browse files
committed
add C# ext
1 parent a80a907 commit 4ee8398

File tree

3 files changed

+3
-26
lines changed

3 files changed

+3
-26
lines changed

samples/web/test/Web.Sample.Csharp.Test/CSharpTests.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@
77
using Web.Sample;
88
using System.Net.Http.Json;
99
using Microsoft.AspNetCore.Mvc.Testing;
10-
using static ApiStub.FSharp.CE;
10+
using static ApiStub.Fsharp.CsharpExtensions;
1111

1212
public class CSharpTests
1313
{
1414
private static WebApplicationFactory<Web.Sample.Program> getWebAppFactory() =>
1515
// create an instance of the test client builder
16-
new TestClient<Web.Sample.Program>()
16+
new CE.TestClient<Web.Sample.Program>()
1717
.GETJ(Clients.Routes.name, new { Name = "Peter" })
1818
.GETJ(Clients.Routes.age, new { Age = 100 })
1919
.GetFactory();

samples/web/test/Web.Sample.Csharp.Test/Web.Sample.Csharp.Test.sln

Lines changed: 0 additions & 24 deletions
This file was deleted.

samples/web/test/Web.Sample.Test/Tests.fs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ open ApiStub.FSharp.CE
88
open Web.Sample
99
open System.Net.Http.Json
1010

11+
1112
let webAppFactory =
1213
new TestClient<Web.Sample.Program>()
1314
|> fun x -> x {

0 commit comments

Comments
 (0)