-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
32 changed files
with
44 additions
and
618 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -51,10 +51,8 @@ | |
import com.pgms.coredomain.domain.event.repository.EventSeatRepository; | ||
import com.pgms.coredomain.domain.event.repository.EventTimeRepository; | ||
import com.pgms.coredomain.domain.member.Member; | ||
import com.pgms.coredomain.domain.member.Role; | ||
import com.pgms.coredomain.domain.member.enums.Provider; | ||
import com.pgms.coredomain.domain.member.repository.MemberRepository; | ||
import com.pgms.coredomain.domain.member.repository.RoleRepository; | ||
|
||
@SpringBootTest | ||
@Import(TestConfig.class) | ||
|
@@ -86,20 +84,15 @@ class BookingServiceTest { | |
@Autowired | ||
private MemberRepository memberRepository; | ||
|
||
@Autowired | ||
private RoleRepository roleRepository; | ||
|
||
private Member member; | ||
|
||
@BeforeEach | ||
void setup() { | ||
Role role = roleRepository.save(new Role("ROLE_USER")); | ||
member = memberRepository.save(Member.builder() | ||
.email("[email protected]") | ||
.password("test1234!") | ||
.name("홍길동") | ||
.provider(Provider.KAKAO) | ||
.role(role) | ||
.phoneNumber("010-123-456") | ||
.build()); | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17 changes: 0 additions & 17 deletions
17
api/api-member/src/main/java/com/pgms/apimember/dto/request/PermissionCreateRequest.java
This file was deleted.
Oops, something went wrong.
11 changes: 0 additions & 11 deletions
11
api/api-member/src/main/java/com/pgms/apimember/dto/request/PermissionUpdateRequest.java
This file was deleted.
Oops, something went wrong.
17 changes: 0 additions & 17 deletions
17
api/api-member/src/main/java/com/pgms/apimember/dto/request/RoleCreateRequest.java
This file was deleted.
Oops, something went wrong.
11 changes: 0 additions & 11 deletions
11
api/api-member/src/main/java/com/pgms/apimember/dto/request/RoleUpdateRequest.java
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20 changes: 0 additions & 20 deletions
20
api/api-member/src/main/java/com/pgms/apimember/dto/response/PermissionGetResponse.java
This file was deleted.
Oops, something went wrong.
16 changes: 0 additions & 16 deletions
16
api/api-member/src/main/java/com/pgms/apimember/dto/response/RoleGetResponse.java
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.