Add certificate1 to test DB

This commit is contained in:
Curtis Castrapel 2019-05-29 12:38:17 -07:00
parent f81adb1371
commit 5e389f3f48
1 changed files with 2 additions and 1 deletions

View File

@ -53,7 +53,8 @@ def test_get_or_increase_name(session, certificate):
== "test-cert-11111111-1-" + serial
)
cert2 = CertificateFactory(name="certificate1-" + serial)
CertificateFactory(name="certificate1")
CertificateFactory(name="certificate1-" + serial)
session.commit()
assert get_or_increase_name(