fix: tolerate runtime schema drift
This commit is contained in:
@@ -151,7 +151,7 @@ func TestRuntimeThreadsEndpointReturnsPartialSourceEvidence(t *testing.T) {
|
||||
if err := json.Unmarshal(rec.Body.Bytes(), &body); err != nil {
|
||||
t.Fatalf("invalid json: %v", err)
|
||||
}
|
||||
if body.Source.Kind != "sqlite_partial" || body.Source.Confidence != "partial" {
|
||||
if body.Source.Kind != "sqlite_partial" || body.Source.Confidence != "medium" {
|
||||
t.Fatalf("unexpected aggregate source: %#v", body.Source)
|
||||
}
|
||||
if body.Sources["state"].Kind != "sqlite_missing" || body.Sources["state"].Confidence != "low" {
|
||||
|
||||
Reference in New Issue
Block a user