Lucas Delanier 2 years ago
parent 9d9d1633e9
commit ec30c62a53

@ -24,7 +24,7 @@ namespace TestUnitaire
controller = new ChampionsController(stub, new NullLogger<ChampionsController>()); controller = new ChampionsController(stub, new NullLogger<ChampionsController>());
} }
/*[TestMethod] [TestMethod]
public async Task TestGet() public async Task TestGet()
{ {
var champions = await controller.Get(new PageRequest()); var champions = await controller.Get(new PageRequest());
@ -91,7 +91,7 @@ namespace TestUnitaire
// Assert // Assert
Assert.IsInstanceOfType(result, typeof(OkResult)); Assert.IsInstanceOfType(result, typeof(OkResult));
Assert.IsNotNull(stub.ChampionsMgr.GetItemsByName("Bibouuu",0, await stub.ChampionsMgr.GetNbItems())); Assert.IsNotNull(stub.ChampionsMgr.GetItemsByName("Bibouuu",0, await stub.ChampionsMgr.GetNbItems()));
}*/ }
} }

Loading…
Cancel
Save