Update tests
This commit is contained in:
+2
-1
@@ -34,7 +34,8 @@ spec = describe "Bus" $ do
|
||||
svc = Service "light" "turn_on" Nothing [EntityId "light.bedroom_masse"]
|
||||
runKatipContextT (busLogEnv bus) () (Namespace ["test"]) $
|
||||
channelHassEval bus (CallService req svc)
|
||||
atomically (readTChan (busOutbound bus)) `shouldReturn` svc
|
||||
(_, svc') <- atomically $ readTChan (busOutbound bus)
|
||||
svc' `shouldBe` svc
|
||||
|
||||
|
||||
it "generates unique sequential call ids" $ do
|
||||
|
||||
Reference in New Issue
Block a user