summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorJames Moger <james.moger@gitblit.com>2012-12-02 13:16:39 -0500
committerJames Moger <james.moger@gitblit.com>2012-12-02 13:16:39 -0500
commitf1c3a882d12aede461e3c8ca3ebd298bdb28bc5d (patch)
treef1e10ea1cc01725c01548a23e446ffea8ef16535 /tests
parent8481ab5b01b2b848f05e43af345072921c2219b9 (diff)
downloadgitblit-f1c3a882d12aede461e3c8ca3ebd298bdb28bc5d.tar.gz
gitblit-f1c3a882d12aede461e3c8ca3ebd298bdb28bc5d.zip
Corrected certificatge bundle unit test
Diffstat (limited to 'tests')
-rw-r--r--tests/com/gitblit/tests/X509UtilsTest.java7
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;