mirror of
https://github.com/LBPUnion/ProjectLighthouse.git
synced 2025-07-28 16:08:38 +00:00
Modify slot unit test to reflect sub level change
This commit is contained in:
parent
db5d9c2a39
commit
ecdce826fb
1 changed files with 2 additions and 2 deletions
|
@ -320,7 +320,7 @@ public class SlotControllerTests
|
|||
}
|
||||
|
||||
[Fact]
|
||||
public async Task UserSlot_ShouldNotFetch_WhenSlotIsSubLevel()
|
||||
public async Task UserSlot_ShouldFetch_WhenSlotIsSubLevel()
|
||||
{
|
||||
List<SlotEntity> slots = new()
|
||||
{
|
||||
|
@ -337,7 +337,7 @@ public class SlotControllerTests
|
|||
|
||||
IActionResult result = await slotsController.UserSlot(27);
|
||||
|
||||
Assert.IsType<NotFoundResult>(result);
|
||||
Assert.IsType<OkObjectResult>(result);
|
||||
}
|
||||
#endregion
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue