Fix some tests

This commit is contained in:
Jon Staab
2026-02-13 10:49:26 -08:00
parent 616818386a
commit da8236ef46
3 changed files with 2 additions and 9 deletions
+1 -1
View File
@@ -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
}