diff --git a/tests/v1alpha_alertmethod_test.go b/tests/v1alpha_alertmethod_test.go index 730548a3..a88f8d8e 100644 --- a/tests/v1alpha_alertmethod_test.go +++ b/tests/v1alpha_alertmethod_test.go @@ -108,7 +108,6 @@ func newV1alphaAlertMethod( func assertV1alphaAlertMethodsAreEqual(t *testing.T, expected, actual v1alphaAlertMethod.AlertMethod) { t.Helper() expected = deepCopyObject(t, expected) - actual.Status = nil typ, err := expected.Spec.GetType() require.NoError(t, err) switch typ {