File tree Expand file tree Collapse file tree
main/java/BE_Elixir/Elixir/domain/auth/dto/request
test/java/BE_Elixir/Elixir Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -45,6 +45,11 @@ dependencies {
4545 testImplementation ' org.springframework.boot:spring-boot-starter-test'
4646 testImplementation ' org.springframework.security:spring-security-test'
4747 testRuntimeOnly ' org.junit.platform:junit-platform-launcher'
48+ testImplementation ' org.junit.jupiter:junit-jupiter'
49+ testImplementation ' org.mockito:mockito-core'
50+ testImplementation ' org.mockito:mockito-junit-jupiter'
51+
52+ testImplementation ' com.h2database:h2'
4853
4954 // Swagger/OpenAPI
5055 implementation ' org.springdoc:springdoc-openapi-starter-webmvc-ui:2.7.0'
@@ -65,6 +70,6 @@ dependencies {
6570 implementation " org.springframework.boot:spring-boot-starter-actuator"
6671}
6772
68- tasks. named( ' test' ) {
73+ tasks. test {
6974 useJUnitPlatform()
70- }
75+ }
Original file line number Diff line number Diff line change 11package BE_Elixir .Elixir .domain .auth .dto .request ;
22
3+ import lombok .AllArgsConstructor ;
34import lombok .Getter ;
45
6+ @ AllArgsConstructor
57@ Getter
68public class LoginRequestDTO {
79 private String email ;
Original file line number Diff line number Diff line change 22
33import org .junit .jupiter .api .Test ;
44import org .springframework .boot .test .context .SpringBootTest ;
5+ import org .springframework .test .context .ActiveProfiles ;
56
67@ SpringBootTest
8+ @ ActiveProfiles ("test" )
79class ElixirApplicationTests {
810
911 @ Test
You can’t perform that action at this time.
0 commit comments