Skip to content

Commit

Permalink
Fix Unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
keyroll-99 committed Jun 8, 2024
1 parent ef7f7c7 commit 3fb425a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ide/tests/Fiona.IDE.Compiler.Tests/Parser/ParserTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ public TestController(IUserService userService, ILogger<TestController> logger){
}
[Route(HttpMethodType.Get | HttpMethodType.Post, "/{name}", ["age"])]
public async Task<User> Index([FromRoute] string name, [QueryParam] int age, [Body] User user, [Cookie] long userId)
public async Task<User> Index(string name, [QueryParam] int age, [Body] User user, [Cookie] long userId)
{
}
}
Expand Down Expand Up @@ -132,7 +132,7 @@ public TestController(IUserService userService, ILogger<TestController> logger){
}
[Route(HttpMethodType.Get | HttpMethodType.Post, "/{name}", ["age"])]
public async Task<User> Index([FromRoute] string name, [QueryParam] int age, [Body] User user, [Cookie] long userId)
public async Task<User> Index(string name, [QueryParam] int age, [Body] User user, [Cookie] long userId)
{
var x = 10;
var y = userService.GetAge();
Expand Down

0 comments on commit 3fb425a

Please sign in to comment.