]> source.dussan.org Git - gitblit.git/commitdiff
Corrected certificatge bundle unit test
authorJames Moger <james.moger@gitblit.com>
Sun, 2 Dec 2012 18:16:39 +0000 (13:16 -0500)
committerJames Moger <james.moger@gitblit.com>
Sun, 2 Dec 2012 18:16:39 +0000 (13:16 -0500)
tests/com/gitblit/tests/X509UtilsTest.java

index 85d30debe3a263044eea4d5dea9c8245119194c3..5d17e18d5a409613bd6fe6c01c267359ea43fec3 100644 (file)
@@ -118,7 +118,12 @@ public class X509UtilsTest extends Assert {
                File zip = X509Utils.newClientBundle(userMetadata, storeFile, caPassword, log);\r
                assertTrue(zip.exists());\r
                \r
-               List<String> expected = Arrays.asList(userMetadata.commonName + ".pem", userMetadata.commonName + ".p12", "README.TXT");\r
+               List<String> expected = Arrays.asList(\r
+                               userMetadata.commonName + ".pem",\r
+                               userMetadata.commonName + ".p12",\r
+                               userMetadata.commonName + ".cer",\r
+                               "ca.cer",\r
+                               "README.TXT");\r
                \r
                ZipInputStream zis = new ZipInputStream(new FileInputStream(zip));\r
                ZipEntry entry = null;\r