Skip to content

Commit 7378c8f

Browse files
jeremylenzclaude
authored andcommitted
Fixes #39330 - Update bats test for removed CV/LCE activation key params
Replace deprecated --content-view and --lifecycle-environment flags with the new --content-view-environments="LCE/CV" format in hammer activation-key create. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 27e0c88 commit 7378c8f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

bats/fb-katello-content.bats

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ setup() {
253253

254254
@test "create activation key" {
255255
hammer activation-key create --organization="${ORGANIZATION}" \
256-
--name="${ACTIVATION_KEY}" --content-view="${CONTENT_VIEW}" --lifecycle-environment="${LIFECYCLE_ENVIRONMENT}" \
256+
--name="${ACTIVATION_KEY}" --content-view-environments="${LIFECYCLE_ENVIRONMENT}/${CONTENT_VIEW}" \
257257
--unlimited-hosts | grep -q "Activation key created"
258258
}
259259

0 commit comments

Comments
 (0)