This is the codeAbility Sharing Platform! Learn more about the codeAbility Sharing Platform.

Skip to content
Snippets Groups Projects
Commit 527e3ccb authored by Michael Breu's avatar Michael Breu :speech_balloon:
Browse files

Deacitvating registration Tests

parent 351ad6c5
2 merge requests!91Bringing JHipster7.6.0 to production,!89Resolve "Restore Gitsearch Integration Tests"
......@@ -16,6 +16,7 @@ import java.util.Optional;
import java.util.Set;
import org.apache.commons.lang3.RandomStringUtils;
import org.junit.Ignore;
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.autoconfigure.web.servlet.AutoConfigureMockMvc;
......@@ -122,6 +123,7 @@ class AccountResourceIT {
}
@Test
@Ignore("Self registration is not enabled")
@Transactional
void testRegisterValid() throws Exception {
ManagedUserVM validUser = new ManagedUserVM();
......@@ -144,6 +146,7 @@ class AccountResourceIT {
}
@Test
@Ignore("Self registration is not enabled")
@Transactional
void testRegisterInvalidLogin() throws Exception {
ManagedUserVM invalidUser = new ManagedUserVM();
......@@ -167,6 +170,7 @@ class AccountResourceIT {
}
@Test
@Ignore("Self registration is not enabled")
@Transactional
void testRegisterInvalidEmail() throws Exception {
ManagedUserVM invalidUser = new ManagedUserVM();
......@@ -190,6 +194,7 @@ class AccountResourceIT {
}
@Test
@Ignore("Self registration is not enabled")
@Transactional
void testRegisterInvalidPassword() throws Exception {
ManagedUserVM invalidUser = new ManagedUserVM();
......@@ -213,6 +218,7 @@ class AccountResourceIT {
}
@Test
@Ignore("Self registration is not enabled")
@Transactional
void testRegisterNullPassword() throws Exception {
ManagedUserVM invalidUser = new ManagedUserVM();
......@@ -236,6 +242,7 @@ class AccountResourceIT {
}
@Test
@Ignore("Self registration is not enabled")
@Transactional
void testRegisterDuplicateLogin() throws Exception {
// First registration
......@@ -287,6 +294,7 @@ class AccountResourceIT {
}
@Test
@Ignore("Self registration is not enabled")
@Transactional
void testRegisterDuplicateEmail() throws Exception {
// First user
......@@ -366,6 +374,7 @@ class AccountResourceIT {
}
@Test
@Ignore("Self registration is not enabled")
@Transactional
void testRegisterAdminIsIgnored() throws Exception {
ManagedUserVM validUser = new ManagedUserVM();
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment