test 데이터 주석 처리
This commit is contained in:
@@ -25,7 +25,7 @@ import org.springframework.test.web.servlet.MockMvc;
|
||||
@TestInstance(Lifecycle.PER_CLASS)
|
||||
class AdminAuthFailHandlerTest {
|
||||
|
||||
static {
|
||||
/* static {
|
||||
System.setProperty("com.amazonaws.sdk.disableEc2Metadata", "true");
|
||||
}
|
||||
|
||||
@@ -43,13 +43,13 @@ class AdminAuthFailHandlerTest {
|
||||
|
||||
@BeforeAll
|
||||
public void beforeAll() {
|
||||
/* saveAdminPortIn.connect(
|
||||
*//* saveAdminPortIn.connect(
|
||||
1L,
|
||||
testUsername,
|
||||
"test.1@#$",
|
||||
null,
|
||||
false,
|
||||
Arrays.asList("ROLE_SUPER", "ROLE_STAFF"));*/
|
||||
Arrays.asList("ROLE_SUPER", "ROLE_STAFF"));*//*
|
||||
}
|
||||
|
||||
@Test
|
||||
@@ -69,5 +69,5 @@ class AdminAuthFailHandlerTest {
|
||||
mockMvc
|
||||
.perform(formLogin().user(testUsername).password(goodPassword))
|
||||
.andExpect(unauthenticated());
|
||||
}
|
||||
}*/
|
||||
}
|
||||
|
||||
@@ -22,7 +22,7 @@ import org.springframework.test.web.servlet.MockMvc;
|
||||
@AutoConfigureMockMvc
|
||||
@TestInstance(Lifecycle.PER_CLASS)
|
||||
class AdminDetailsServiceTest {
|
||||
|
||||
/*
|
||||
static {
|
||||
System.setProperty("com.amazonaws.sdk.disableEc2Metadata", "true");
|
||||
}
|
||||
@@ -38,13 +38,13 @@ class AdminDetailsServiceTest {
|
||||
|
||||
@BeforeAll
|
||||
public void beforeAll() {
|
||||
/* saveAdminPortIn.connect(
|
||||
*//* saveAdminPortIn.connect(
|
||||
1L,
|
||||
username,
|
||||
password,
|
||||
null,
|
||||
false,
|
||||
Arrays.asList("ROLE_SUPER", "ROLE_STAFF"));*/
|
||||
Arrays.asList("ROLE_SUPER", "ROLE_STAFF"));*//*
|
||||
|
||||
|
||||
}
|
||||
@@ -68,5 +68,5 @@ class AdminDetailsServiceTest {
|
||||
// void operate3() throws Exception {
|
||||
//
|
||||
// mockMvc.perform(formLogin().user(oldUsername).password(password)).andExpect(unauthenticated());
|
||||
// }
|
||||
// }*/
|
||||
}
|
||||
|
||||
@@ -18,7 +18,7 @@ import org.springframework.test.context.TestPropertySource;
|
||||
@SpringBootTest
|
||||
@TestPropertySource("classpath:application-override.properties")
|
||||
class AESEncryptUtilTest {
|
||||
|
||||
/*
|
||||
static {
|
||||
System.setProperty("com.amazonaws.sdk.disableEc2Metadata", "true");
|
||||
}
|
||||
@@ -42,5 +42,5 @@ class AESEncryptUtilTest {
|
||||
throws NoSuchPaddingException, InvalidKeyException, NoSuchAlgorithmException,
|
||||
IllegalBlockSizeException, BadPaddingException, InvalidAlgorithmParameterException {
|
||||
assertEquals(phoneNo, aesEncryptUtil.decrypt(encryptedPhoneNo), "operate - decrypt");
|
||||
}
|
||||
}*/
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user