I am writing some Integration Test in asp.net core api using TestServer. My action are not being called in the controller. It is always throwing errors like below.
Exception thrown: 'System.ArgumentException' in Microsoft.AspNetCore.Routing.dll
Exception thrown: 'Microsoft.AspNetCore.Routing.RouteCreationException' in Microsoft.AspNetCore.Mvc.Core.dll
Exception thrown: 'Microsoft.AspNetCore.Routing.RouteCreationException' in System.Private.CoreLib.dll