fix: retain stock identities in research and AI task lists
This commit is contained in:
@@ -129,6 +129,11 @@ func testCandidateAI(t *testing.T, ctx context.Context, pool *pgxpool.Pool, admi
|
||||
if err != nil || len(results) != 4 {
|
||||
t.Fatal("durable results missing", err, len(results))
|
||||
}
|
||||
for _, result := range results {
|
||||
if result.Name != "Fixture" || result.Symbol != "000042" || result.Exchange != "SZSE" {
|
||||
t.Fatal("analysis task lost candidate identity")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
type rejectModel struct{ calls int }
|
||||
|
||||
Reference in New Issue
Block a user