File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed 
OpenTask.WebApi.Tests/IntegrationTests 
OpenTask.WebApi/Controllers Expand file tree Collapse file tree 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;
1313public  class  ClientTests 
1414    :  IClassFixture < CustomWebApplicationFactory < Program > > 
1515{ 
16-     private  readonly  WebApplicationFactory < Program >  _factory ; 
16+     private  readonly  CustomWebApplicationFactory < Program >  _factory ; 
1717    private  readonly  HttpClient  client ; 
1818
19-     public  ClientTests ( WebApplicationFactory < Program >  factory ) 
19+     public  ClientTests ( CustomWebApplicationFactory < Program >  factory ) 
2020    { 
2121        _factory  =  factory ; 
2222        client  =  _factory . CreateClient ( ) ; 
2323    } 
2424
2525    [ Theory ] 
26-     [ InlineData ( "/api/Client/ListClients" ) ] 
26+     [ InlineData ( "/api/Client/ListClients" ) ]   
2727    public  async  Task  Get_Clients ( string  url ) 
2828    { 
2929        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)
2222        [ HttpPost ] 
2323        public  async  Task < BaseResponse < LoginResponse > >  Login ( LoginCommand  request ) 
2424        { 
25+   
2526            return  await  RequestAsync < LoginCommand ,  LoginResponse > ( request ) ; 
2627        } 
2728
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments