Skip to content

Commit 00e36a0

Browse files
committed
fix: BaseTimeEntity 추가 및 test properties 추가
1 parent c79dd2a commit 00e36a0

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

src/main/java/apptive/team5/survey/domain/SurveyEntity.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
package apptive.team5.survey.domain;
22

3+
import apptive.team5.global.entity.BaseTimeEntity;
34
import apptive.team5.user.domain.UserEntity;
45
import jakarta.persistence.*;
56
import lombok.AccessLevel;
@@ -9,7 +10,7 @@
910
@Entity
1011
@Getter
1112
@NoArgsConstructor(access = AccessLevel.PROTECTED)
12-
public class SurveyEntity {
13+
public class SurveyEntity extends BaseTimeEntity {
1314

1415
@Id
1516
@GeneratedValue(strategy = GenerationType.IDENTITY)

src/test/resources/application.properties

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,3 +33,10 @@ aws.s3.region=ap-northeast-2
3333
aws.s3.bucket=killingpart-file
3434
aws.s3.url=${S3_URL}
3535

36+
spring.mail.host=smtp.gmail.com
37+
spring.mail.port=587
38+
spring.mail.username=[email protected]
39+
spring.mail.password=fubhotloxcklrppq
40+
spring.mail.properties.mail.smtp.auth=true
41+
spring.mail.properties.mail.smtp.starttls.enable=true
42+
spring.mail.survey.email=[email protected]

0 commit comments

Comments
 (0)