mirror of https://github.com/status-im/consul.git
Fix broken tests. (#20134)
This commit is contained in:
parent
96790a814c
commit
131ef2a133
|
@ -759,7 +759,7 @@ func TestIntentionApply_WithoutIDs(t *testing.T) {
|
|||
},
|
||||
RaftIndex: entry.RaftIndex,
|
||||
}
|
||||
|
||||
entry.Hash = 0
|
||||
require.Equal(t, expect, entry)
|
||||
}
|
||||
|
||||
|
|
|
@ -1197,6 +1197,7 @@ func TestDatacenterSupportsIntentionsAsConfigEntries(t *testing.T) {
|
|||
if err := srv.RPC(context.Background(), "ConfigEntry.Get", &arg, &reply); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
reply.Entry.SetHash(0)
|
||||
return reply.Entry, nil
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue