Skip to content

Commit

Permalink
test: Fix ExpectUpdated passing a single object (#4600)
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathan-innis committed Sep 11, 2023
1 parent f178721 commit 85c326a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/pkg/environment/common/expectations.go
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ func (env *Environment) ExpectCreatedOrUpdated(objects ...client.Object) {
Fail(fmt.Sprintf("Getting object %s, %v", client.ObjectKeyFromObject(o), err))
}
} else {
env.ExpectUpdated(objects...)
env.ExpectUpdated(o)
}
}
}
Expand Down

0 comments on commit 85c326a

Please sign in to comment.