Skip to content

Agent Mesh

Update tests/integration/identity_evidence_test.go

Antonio Ojea954a4add2a4e
diff --git a/tests/integration/identity_evidence_test.go b/tests/integration/identity_evidence_test.go
index 6c10c377..124f4b5b 100644
--- a/tests/integration/identity_evidence_test.go
+++ b/tests/integration/identity_evidence_test.go
@@ -166,7 +166,7 @@ func verifyBiscuitForApplication(encodedBiscuit []byte, expectedPeer peer.ID, tr
Name: api.FactNode,
IDs: []biscuit.Term{biscuit.String(expectedPeer.String())},
}}
- if _, err := parsed.GetBlockID(boundPeer); err == nil {
+ if blockID, err := parsed.GetBlockID(boundPeer); err == nil && blockID == 0 {
return parsed, nil
}
}