Modify slot unit test to reflect sub level change

This commit is contained in:
Slendy 2023-06-10 23:08:32 -05:00
commit ecdce826fb
No known key found for this signature in database
GPG key ID: 7288D68361B91428

View file

@ -320,7 +320,7 @@ public class SlotControllerTests
} }
[Fact] [Fact]
public async Task UserSlot_ShouldNotFetch_WhenSlotIsSubLevel() public async Task UserSlot_ShouldFetch_WhenSlotIsSubLevel()
{ {
List<SlotEntity> slots = new() List<SlotEntity> slots = new()
{ {
@ -337,7 +337,7 @@ public class SlotControllerTests
IActionResult result = await slotsController.UserSlot(27); IActionResult result = await slotsController.UserSlot(27);
Assert.IsType<NotFoundResult>(result); Assert.IsType<OkObjectResult>(result);
} }
#endregion #endregion