diff --git a/tests/files/candlepin_data.yml b/tests/files/candlepin_data.yml index 9e908c6..a8dc883 100644 --- a/tests/files/candlepin_data.yml +++ b/tests/files/candlepin_data.yml @@ -5,16 +5,16 @@ lsr_rhc_test_data: candlepin_port: 8443 candlepin_prefix: /candlepin candlepin_insecure: false - reg_username: "admin" - reg_password: "admin" + reg_username: "doc" + reg_password: "password" reg_activation_keys: - "default_key" reg_invalid_username: "invalid-user" reg_invalid_password: "invalid-password" - reg_organization: "admin" + reg_organization: "donaldduck" baseurl: "http://localhost:8080" repositories: - - {name: "admin-content-label-5051", state: enabled} + - {name: "donaldy-content-label-7051", state: enabled} - {name: "content-label-32060", state: disabled} release: null # no releases in Candlepin test data proxy_noauth_hostname: localhost diff --git a/tests/tasks/setup_candlepin.yml b/tests/tasks/setup_candlepin.yml index 17e0915..4e1351b 100644 --- a/tests/tasks/setup_candlepin.yml +++ b/tests/tasks/setup_candlepin.yml @@ -74,7 +74,7 @@ - /etc/pki/product-default/ changed_when: false loop: - - "5050" + - "7050" - name: Copy Candlepin CA certificate for subscription-manager command: @@ -125,15 +125,15 @@ url_password: "{{ lsr_rhc_test_data.reg_password }}" register: default_key - - name: Get pools for product 5050 + - name: Get pools for product 7050 uri: - url: "{{ _cp_url_owner }}/pools?product=5050" + url: "{{ _cp_url_owner }}/pools?product=7050" method: GET url_username: "{{ lsr_rhc_test_data.reg_username }}" url_password: "{{ lsr_rhc_test_data.reg_password }}" register: pools - - name: Add pools for product 5050 to default_key activation key + - name: Add pools for product 7050 to default_key activation key uri: url: "{{ _cp_url }}/activation_keys/{{ default_key.json[0].id }}/pools/{{ item.id }}" # yamllint disable-line method: POST