Code development platform for open source projects from the European Union institutions

Skip to content
Snippets Groups Projects
Commit 765dc1eb authored by Joze RIHTARSIC's avatar Joze RIHTARSIC
Browse files

fix gitlab failed plans

parent f8c7a820
No related branches found
No related tags found
No related merge requests found
......@@ -70,10 +70,10 @@ public class TruststoreAdminResourceIntegrationTest {
@Test
public void validateInvalidCertificate() throws Exception {
byte[] buff = (new String("Not a certificate :) ")).getBytes();
byte[] buff = "Not a certificate :) ".getBytes();
// login
MockHttpSession session = loginWithUserGroupAdmin(mvc);
MockHttpSession session = loginWithSystemAdmin(mvc);
// when update data
UserRO userRO = getLoggedUserData(mvc, session);
......@@ -90,7 +90,7 @@ public class TruststoreAdminResourceIntegrationTest {
public void validateCertificateSystemAdmin() throws Exception {
byte[] buff = IOUtils.toByteArray(UserResourceIntegrationTest.class.getResourceAsStream("/SMPtest.crt"));
// login
MockHttpSession session = loginWithUserGroupAdmin(mvc);
MockHttpSession session = loginWithSystemAdmin(mvc);
// when update data
UserRO userRO = getLoggedUserData(mvc, session);
// given when
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment