perf(laya): compact relevance states
This commit is contained in:
@ -45,7 +45,7 @@ func TestTicket19LayaReceivesCompanyNameAndSelectedInternalIdentity(t *testing.T
|
||||
t.Fatalf("Laya indices payload=%+v", request.States)
|
||||
}
|
||||
index := request.States[0].Indices[0]
|
||||
if index["name"] != "Baidu, Inc." || index["symbol"] != "9888.HK" || index["figi"] != figi {
|
||||
if index["name"] != "Baidu, Inc." || index["symbol"] != "9888.HK" || index["figi"] != "" {
|
||||
t.Fatalf("Laya received wrong company identity: %+v", index)
|
||||
}
|
||||
if index["symbol"] == "SSAAPL INDEX" {
|
||||
|
||||
Reference in New Issue
Block a user