Subordinate -> Intermediate wording

This commit is contained in:
Jasmine Schladen 2020-12-03 17:59:13 -08:00
parent 1793859781
commit 29aeb9b298
2 changed files with 3 additions and 1 deletions

View File

@ -94,7 +94,7 @@
{% if certificate.self_signed %}
<b>Root</b>
{% else %}
Subordinate
Intermediate
{% endif %} CA
<br>{{ certificate.issued_cert_count }} issued certificates
<br>{{ certificate.owner }}

View File

@ -1383,6 +1383,8 @@ def test_issued_cert_count_for_authority(authority):
from lemur.tests.factories import CertificateFactory
from lemur.certificates.service import get_issued_cert_count_for_authority
assert get_issued_cert_count_for_authority(authority) == 0
# create a few certs issued by the authority
CertificateFactory(authority=authority, name="test_issued_cert_count_for_authority1")
CertificateFactory(authority=authority, name="test_issued_cert_count_for_authority2")