Skip to content

Commit

Permalink
fixup! tests: verify custom certs are stored correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
Amygos committed Sep 13, 2024
1 parent dc50867 commit 0c22441
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/20_traefik_certificates_api.robot
Original file line number Diff line number Diff line change
Expand Up @@ -76,9 +76,9 @@ Upload a custom certificate
${response} = Execute Command redis-cli --raw HGET module/traefik1/certificate/test.example.com custom
Should Be Equal As Strings ${response} true
# check if the certificate stored is base64 encoded
${response} = Execute Command redis-cli HGET module/traefik1/certificate/test.example.com cert | base64 -d > /dev/null return_stdout=False return_rc=True
${response} = Execute Command command=redis-cli HGET module/traefik1/certificate/test.example.com cert | base64 -d return_stdout=False return_rc=True
Should Be Equal As Integers ${response} 0
${response} = Execute Command redis-cli HGET module/traefik1/certificate/test.example.com key | base64 -d > /dev/null return_stdout=False return_rc=True
${response} = Execute Command command=redis-cli HGET module/traefik1/certificate/test.example.com key | base64 -d return_stdout=False return_rc=True
Should Be Equal As Integers ${response} 0

Delete custom certificate
Expand Down

0 comments on commit 0c22441

Please sign in to comment.