mirror of
https://github.com/Xevion/go-ha.git
synced 2025-12-06 05:15:15 -06:00
Fix of assert condition
This commit is contained in:
@@ -80,7 +80,7 @@ func (s *MySuite) TestLightService() {
|
||||
slog.Error("Error getting entity state:", err)
|
||||
}
|
||||
slog.Info("New state of entity:", "state", newState.State)
|
||||
assert.Equal(s.T(), initialState.State, newState.State)
|
||||
assert.NotEqual(s.T(), initialState.State, newState.State)
|
||||
}
|
||||
|
||||
// Run the test suite
|
||||
|
||||
Reference in New Issue
Block a user