Skip to content

Commit

Permalink
remove onSlotFilled unit tests from states
Browse files Browse the repository at this point in the history
  • Loading branch information
emizzle committed Oct 22, 2024
1 parent 82e33f2 commit 119abbe
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
4 changes: 0 additions & 4 deletions tests/codex/sales/states/testfilling.nim
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,3 @@ checksuite "sales state 'filling'":
test "switches to failed state when request fails":
let next = state.onFailed(request)
check !next of SaleFailed

test "switches to filled state when slot is filled":
let next = state.onSlotFilled(request.id, slotIndex)
check !next of SaleFilled
4 changes: 0 additions & 4 deletions tests/codex/sales/states/testslotreserving.nim
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,6 @@ asyncchecksuite "sales state 'SlotReserving'":
let next = state.onFailed(request)
check !next of SaleFailed

test "switches to filled state when slot is filled":
let next = state.onSlotFilled(request.id, slotIndex)
check !next of SaleFilled

test "run switches to downloading when slot successfully reserved":
let next = await state.run(agent)
check !next of SaleDownloading
Expand Down

0 comments on commit 119abbe

Please sign in to comment.