diff --git a/api_test.go b/api_test.go index c9875720a..9fed9645d 100644 --- a/api_test.go +++ b/api_test.go @@ -894,11 +894,11 @@ func testAlert(version string, t *testing.T, expectedAlert, gotAlert models.Aler } func testAlertGroup(version string, t *testing.T, testCase groupTest, group models.AlertGroup) { - if testCase.hash != group.Hash { - // FIXME this is different per mock version due to startsAt / endsAt - // t.Errorf("[%s] Alert group.Hash mismatch, expected '%s' but got '%s' for group %v", - // version, testCase.hash, group.Hash, group.Labels) - } + //if testCase.hash != group.Hash { + // FIXME this is different per mock version due to startsAt / endsAt + // t.Errorf("[%s] Alert group.Hash mismatch, expected '%s' but got '%s' for group %v", + // version, testCase.hash, group.Hash, group.Labels) + //} if testCase.id != group.ID { t.Errorf("[%s] Alert group.ID mismatch, expected '%s' but got '%s' for group %v", version, testCase.id, group.ID, group.Labels)