mirror of
https://codeberg.org/JasterV/jaster.xyz.git
synced 2026-04-26 18:10:01 +00:00
[update] code
This commit is contained in:
parent
bdf61e70af
commit
6e387d6c8d
1 changed files with 0 additions and 2 deletions
|
|
@ -422,7 +422,6 @@ defmodule DoorAutomation.DoorServerTest do
|
|||
|
||||
test "locking the door changes state and publishes :door_locked event" do
|
||||
assert :ok = DoorServer.lock()
|
||||
|
||||
assert DoorServer.get_state() == :locked
|
||||
assert_receive :door_locked
|
||||
refute_receive :door_unlocked
|
||||
|
|
@ -431,7 +430,6 @@ defmodule DoorAutomation.DoorServerTest do
|
|||
|
||||
test "unlocking the door changes state and publishes :door_unlocked event" do
|
||||
assert :ok = DoorServer.unlock()
|
||||
|
||||
assert DoorServer.get_state() == :unlocked
|
||||
assert_receive :door_unlocked
|
||||
refute_receive :door_locked
|
||||
|
|
|
|||
Loading…
Reference in a new issue