mirror of
https://github.com/teslamate-org/teslamate.git
synced 2026-01-24 21:06:08 +08:00
@@ -102,7 +102,7 @@ defmodule TeslaMate.Vehicles.VehicleTest do
|
||||
|
||||
assert :ok = Vehicle.resume_logging(name)
|
||||
|
||||
assert_receive {:start_state, ^car, :online, date: _}, 100
|
||||
assert_receive {:start_state, ^car, :online, date: _}, 200
|
||||
assert_receive {ApiMock, {:stream, 1000, _}}
|
||||
assert_receive {:insert_position, ^car, %{}}
|
||||
assert_receive {:pubsub, {:broadcast, _, _, %Summary{state: :online}}}
|
||||
@@ -129,7 +129,7 @@ defmodule TeslaMate.Vehicles.VehicleTest do
|
||||
|
||||
assert :ok = Vehicle.resume_logging(name)
|
||||
|
||||
assert_receive {:start_state, ^car, :online, date: _}, 100
|
||||
assert_receive {:start_state, ^car, :online, date: _}, 200
|
||||
assert_receive {ApiMock, {:stream, 1000, _}}
|
||||
assert_receive {:insert_position, ^car, %{}}
|
||||
assert_receive {:pubsub, {:broadcast, _, _, %Summary{state: :online}}}
|
||||
|
||||
Reference in New Issue
Block a user