Fix of assert condition

This commit is contained in:
Jiri Luzny
2023-11-12 21:50:50 +01:00
parent 60b851ddfa
commit 7aa407a515

View File

@@ -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