Skip to content

Commit 3c2711d

Browse files
test(vehicle): use a real state shape in the Summary test fixture
{:online, nil} was never a state the machine produces; since the atom-state refactor the online state is the plain :online atom. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
1 parent c07590f commit 3c2711d

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,7 @@ Existing charging processes are recomputed once during the upgrade migration: pr
106106
- build(deps): update flake.lock (#5560)
107107
- build(deps-dev): bump sass from 1.101.0 to 1.102.0 in /assets (#5566)
108108
- build(deps): bump leaflet-control-geocoder from 3.3.1 to 4.0.0 in /assets (#5565)
109+
- test(vehicle): make the store-position interval configurable and lock the state-machine field lifecycle with regression tests (#5259 - @JakobLichterfeld)
109110

110111
#### Dashboards
111112

test/teslamate/vehicles/vehicle/summary_test.exs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ defmodule TeslaMate.Vehicles.Vehicle.SummaryTest do
88

99
defp attrs do
1010
%{
11-
state: {:online, nil},
11+
state: :online,
1212
since: DateTime.utc_now(),
1313
healthy?: true,
1414
car: nil,

0 commit comments

Comments
 (0)