Skip to content

Commit

Permalink
No commit message
Browse files Browse the repository at this point in the history
  • Loading branch information
Amygos committed Aug 2, 2024
1 parent aab7533 commit d7c4d17
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions tests/20_traefik_certificates_api.robot
Original file line number Diff line number Diff line change
Expand Up @@ -93,3 +93,11 @@ The certificate must be listed only once
Run task module/traefik1/delete-certificate {"fqdn": "test.example.com"}
${response} = Run task module/traefik1/get-certificate {"fqdn": "test.example.com"}
Should Be Empty ${response}
Run task module/traefik1/set-certificate {"fqdn":"test.example.com"}
Run task module/traefik1/upload-certificate {"keyFile": "${key}", "certFile": "${csr}"}
${response} = Run task module/traefik1/list-certificates {"expand_list": true}
Length Should Be ${response} 1
Should Be Equal As Strings ${response[0]['type']} custom
Run task module/traefik1/delete-certificate {"fqdn": "test.example.com"}
${response} = Run task module/traefik1/get-certificate {"fqdn": "test.example.com"}
Should Be Empty ${response}

0 comments on commit d7c4d17

Please sign in to comment.