forked from coracle/zooid
Fix some tests
This commit is contained in:
@@ -92,7 +92,7 @@ func TestManagementStore_BanEvent(t *testing.T) {
|
||||
bannedItems := mgmt.GetBannedEventItems()
|
||||
itemFound := false
|
||||
for _, item := range bannedItems {
|
||||
if item.ID == eventID.Hex() && item.Reason == reason {
|
||||
if item.ID == eventID && item.Reason == reason {
|
||||
itemFound = true
|
||||
break
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user