File tree 2 files changed +4
-3
lines changed
OpenTask.WebApi/Controllers
OpenTask.WebApi.Tests/IntegrationTests
2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -13,17 +13,17 @@ namespace OpenTask.WebApi.Tests.IntegrationTests;
13
13
public class ClientTests
14
14
: IClassFixture < CustomWebApplicationFactory < Program > >
15
15
{
16
- private readonly WebApplicationFactory < Program > _factory ;
16
+ private readonly CustomWebApplicationFactory < Program > _factory ;
17
17
private readonly HttpClient client ;
18
18
19
- public ClientTests ( WebApplicationFactory < Program > factory )
19
+ public ClientTests ( CustomWebApplicationFactory < Program > factory )
20
20
{
21
21
_factory = factory ;
22
22
client = _factory . CreateClient ( ) ;
23
23
}
24
24
25
25
[ Theory ]
26
- [ InlineData ( "/api/Client/ListClients" ) ]
26
+ [ InlineData ( "/api/Client/ListClients" ) ]
27
27
public async Task Get_Clients ( string url )
28
28
{
29
29
HttpResponseMessage response = await client . GetAsync ( url ) ;
Original file line number Diff line number Diff line change @@ -22,6 +22,7 @@ public UserController(IMediator mediator) : base(mediator)
22
22
[ HttpPost ]
23
23
public async Task < BaseResponse < LoginResponse > > Login ( LoginCommand request )
24
24
{
25
+
25
26
return await RequestAsync < LoginCommand , LoginResponse > ( request ) ;
26
27
}
27
28
You can’t perform that action at this time.
0 commit comments