@@ -55,7 +55,7 @@ public void testBundleDeployHelper_response200() throws Exception {
5555
5656 File bundleArchive = new File (bundleFilePath );
5757
58- BundleDeployHelper .deployBundle (new URI (wireMockRule .baseUrl ()), bundleArchive , "bundle" , "csdgroup" , "cicsplex" , "region" , "username" , "password" , true );
58+ BundleDeployHelper .deployBundle (new URI (wireMockRule .baseUrl ()), bundleArchive , "bundle" , "csdgroup" , "cicsplex" , "region" , "username" , "password" . toCharArray () , true );
5959 }
6060
6161 @ Test
@@ -71,7 +71,7 @@ public void testBundleDeployHelper_selfSignedNotValid() throws Exception {
7171 File bundleArchive = new File (bundleFilePath );
7272
7373 try {
74- BundleDeployHelper .deployBundle (new URI (wireMockRule .baseUrl ()), bundleArchive , "bundle" , "csdgroup" , "cicsplex" , "region" , "username" , "password" , false );
74+ BundleDeployHelper .deployBundle (new URI (wireMockRule .baseUrl ()), bundleArchive , "bundle" , "csdgroup" , "cicsplex" , "region" , "username" , "password" . toCharArray () , false );
7575 fail ("Expected SSLException because self signed certificates are not allowed" );
7676 } catch (SSLException e ) {
7777 // pass
@@ -93,7 +93,7 @@ public void testBundleDeployHelper_invalidFile() throws Exception {
9393 expectedException .expect (BundleDeployException .class );
9494 expectedException .expectMessage ("Bundle does not exist: 'invalid path'" );
9595
96- BundleDeployHelper .deployBundle (new URI (wireMockRule .baseUrl ()), bundleArchive , "bundle" , "csdgroup" , "cicsplex" , "region" , "username" , "password" , true );
96+ BundleDeployHelper .deployBundle (new URI (wireMockRule .baseUrl ()), bundleArchive , "bundle" , "csdgroup" , "cicsplex" , "region" , "username" , "password" . toCharArray () , true );
9797 }
9898
9999 @ Test
@@ -111,7 +111,7 @@ public void testBundleDeployHelper_invalidBundle() throws Exception {
111111 expectedException .expect (BundleDeployException .class );
112112 expectedException .expectMessage ("Some of the supplied parameters were invalid:\n - bundle: Derived bundledir \" " + bundleFilePath + "\" didn't match the target BUNDDEF's bundle dir \" " + bundleFilePath + "\" \n " );;
113113
114- BundleDeployHelper .deployBundle (new URI (wireMockRule .baseUrl ()), bundleArchive , "bundle" , "csdgroup" , "cicsplex" , "region" , "username" , "password" , true );
114+ BundleDeployHelper .deployBundle (new URI (wireMockRule .baseUrl ()), bundleArchive , "bundle" , "csdgroup" , "cicsplex" , "region" , "username" , "password" . toCharArray () , true );
115115 }
116116
117117 @ Test
@@ -129,7 +129,7 @@ public void testBundleDeployHelper_unauthenticated401() throws Exception {
129129 expectedException .expect (BundleDeployException .class );
130130 expectedException .expectMessage ("Http response: HTTP/1.1 401 Unauthorized" );
131131
132- BundleDeployHelper .deployBundle (new URI (wireMockRule .baseUrl ()), bundleArchive , "bundle" , "csdgroup" , "cicsplex" , "region" , "username" , "password" , true );
132+ BundleDeployHelper .deployBundle (new URI (wireMockRule .baseUrl ()), bundleArchive , "bundle" , "csdgroup" , "cicsplex" , "region" , "username" , "password" . toCharArray () , true );
133133 }
134134
135135 @ Test
@@ -146,7 +146,7 @@ public void testBundleDeployHelper_unauthenticated401_noContentType() throws Exc
146146 expectedException .expect (BundleDeployException .class );
147147 expectedException .expectMessage ("Http response: HTTP/1.1 401 Unauthorized" );
148148
149- BundleDeployHelper .deployBundle (new URI (wireMockRule .baseUrl ()), bundleArchive , "bundle" , "csdgroup" , "cicsplex" , "region" , "username" , "password" , true );
149+ BundleDeployHelper .deployBundle (new URI (wireMockRule .baseUrl ()), bundleArchive , "bundle" , "csdgroup" , "cicsplex" , "region" , "username" , "password" . toCharArray () , true );
150150 }
151151
152152 @ Test
@@ -169,7 +169,7 @@ public void noPath() throws Exception {
169169 "cicsplex" ,
170170 "region" ,
171171 "username" ,
172- "password" ,
172+ "password" . toCharArray () ,
173173 true
174174 );
175175 }
@@ -195,7 +195,7 @@ public void noPathSlash() throws Exception {
195195 "cicsplex" ,
196196 "region" ,
197197 "username" ,
198- "password" ,
198+ "password" . toCharArray () ,
199199 true
200200 );
201201 }
@@ -221,7 +221,7 @@ public void pathNoSlash() throws Exception {
221221 "cicsplex" ,
222222 "region" ,
223223 "username" ,
224- "password" ,
224+ "password" . toCharArray () ,
225225 true
226226 );
227227 }
@@ -247,7 +247,7 @@ public void pathEndsWithSlash() throws Exception {
247247 "cicsplex" ,
248248 "region" ,
249249 "username" ,
250- "password" ,
250+ "password" . toCharArray () ,
251251 true
252252 );
253253 }
0 commit comments