0.2.81
This commit is contained in:
@@ -362,6 +362,16 @@ func TestServiceStatusCarriesEmbyHealthAndPreferenceRevision(t *testing.T) {
|
||||
if _, ok := body["preferencesRevision"]; !ok {
|
||||
t.Fatalf("status response carried no preferences revision: %v", body)
|
||||
}
|
||||
// Likewise present with no store behind it. This is the whole delivery channel for an
|
||||
// operator's hero change: a television comparing against a missing field would go on
|
||||
// drawing yesterday's hero until it was next restarted.
|
||||
hero, ok := body["hero"].(map[string]any)
|
||||
if !ok {
|
||||
t.Fatalf("status response carried no hero revision: %v", body)
|
||||
}
|
||||
if revision, _ := hero["revision"].(string); revision == "" {
|
||||
t.Fatalf("hero revision was empty; nothing would ever be refetched: %v", hero)
|
||||
}
|
||||
}
|
||||
|
||||
// With the probe switched off there is nothing to say, and a client must not be handed a
|
||||
|
||||
Reference in New Issue
Block a user