Skip to content

Commit

Permalink
tests: check custom certificate on redis
Browse files Browse the repository at this point in the history
  • Loading branch information
Amygos committed Sep 2, 2024
1 parent 99baa31 commit 99c77d6
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tests/20_traefik_certificates_api.robot
Original file line number Diff line number Diff line change
Expand Up @@ -62,3 +62,9 @@ Upload a custom certificate
Should Be Equal As Strings ${response['obtained']} True
Should Be Equal As Strings ${response['type']} custom
Run task module/traefik1/delete-certificate {"fqdn": "test.example.com"}

Check if custom certificates are stored into redis
${response} = Execute Command redis-cli --raw EXISTS module/traefik1/certificate/test.example.com
Should Be Equal As Integers ${response} 1
${response} = Execute Command redis-cli --raw HGET module/traefik1/certificate/test.example.com custom
Should Be Equal As Strings ${response} true

0 comments on commit 99c77d6

Please sign in to comment.