Skip to content

Commit

Permalink
Revert "fix: Fixed e2e tests after removing AlertMethod.Status (#602)"
Browse files Browse the repository at this point in the history
This reverts commit e3f91e3.
  • Loading branch information
nobl9-adam-szymanski committed Dec 5, 2024
1 parent 4292d74 commit e10bf8a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/v1alpha_alertmethod_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@ 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 {
Expand Down

0 comments on commit e10bf8a

Please sign in to comment.