Code development platform for open source projects from the European Union institutions

Skip to content
Snippets Groups Projects
Verified Commit 232c8271 authored by Vincent SIMONIN's avatar Vincent SIMONIN
Browse files

Fixed typo

parent 2f4ad63b
No related branches found
No related tags found
1 merge request!37Make alt_name an array of string
Pipeline #91422 passed
......@@ -16,7 +16,7 @@ class CaChoices(ChoiceSet):
CHOICES = [
("letsencrypt", "Let's Encrypt", "yellow"),
("comisign", "Comisign", "red"),
("commisign", "Commisign", "red"),
("globalsign", "GlobalSign", "blue"),
]
......
......@@ -56,7 +56,7 @@ class TestCertificateCreation(unittest.TestCase):
url=f"http://{HOST}:{PORT}/api/plugins/cert/certificate/",
json={
"cn": "truc00.com",
"ca": "comisign",
"ca": "commisign",
"expiration_time": "3m"
},
headers={"Authorization": f"Token {API_KEY}"},
......@@ -90,7 +90,7 @@ class TestCertificateCreation(unittest.TestCase):
url=f"http://{HOST}:{PORT}/api/plugins/cert/certificate/",
json={
"cn": "truc00.com",
"ca": "comisign",
"ca": "commisign",
"expiration_time": "10m"
},
headers={"Authorization": f"Token {API_KEY}"},
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment