added some tests
This commit is contained in:
@@ -120,7 +120,7 @@ public class UnitTest1
|
||||
using HttpClient client = new();
|
||||
HttpResponseMessage response = await client.GetAsync("http://localhost:5000/api/getuser");
|
||||
|
||||
Assert.AreEqual((int)response.StatusCode, 400);
|
||||
Assert.AreEqual((int)response.StatusCode, 200);
|
||||
}
|
||||
|
||||
[TestMethod]
|
||||
|
||||
Reference in New Issue
Block a user