diff options
author | James Moger <james.moger@gitblit.com> | 2012-12-02 13:16:39 -0500 |
---|---|---|
committer | James Moger <james.moger@gitblit.com> | 2012-12-02 13:16:39 -0500 |
commit | f1c3a882d12aede461e3c8ca3ebd298bdb28bc5d (patch) | |
tree | f1e10ea1cc01725c01548a23e446ffea8ef16535 /tests | |
parent | 8481ab5b01b2b848f05e43af345072921c2219b9 (diff) | |
download | gitblit-f1c3a882d12aede461e3c8ca3ebd298bdb28bc5d.tar.gz gitblit-f1c3a882d12aede461e3c8ca3ebd298bdb28bc5d.zip |
Corrected certificatge bundle unit test
Diffstat (limited to 'tests')
-rw-r--r-- | tests/com/gitblit/tests/X509UtilsTest.java | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/tests/com/gitblit/tests/X509UtilsTest.java b/tests/com/gitblit/tests/X509UtilsTest.java index 85d30deb..5d17e18d 100644 --- a/tests/com/gitblit/tests/X509UtilsTest.java +++ b/tests/com/gitblit/tests/X509UtilsTest.java @@ -118,7 +118,12 @@ public class X509UtilsTest extends Assert { File zip = X509Utils.newClientBundle(userMetadata, storeFile, caPassword, log);
assertTrue(zip.exists());
- List<String> expected = Arrays.asList(userMetadata.commonName + ".pem", userMetadata.commonName + ".p12", "README.TXT");
+ List<String> expected = Arrays.asList(
+ userMetadata.commonName + ".pem",
+ userMetadata.commonName + ".p12",
+ userMetadata.commonName + ".cer",
+ "ca.cer",
+ "README.TXT");
ZipInputStream zis = new ZipInputStream(new FileInputStream(zip));
ZipEntry entry = null;
|