-
Notifications
You must be signed in to change notification settings - Fork 0
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
1 changed file
with
4 additions
and
2 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 |
---|---|---|
|
@@ -20,12 +20,14 @@ default void before( | |
CartService cartService, | ||
OrderService orderService | ||
) { | ||
// 1번 회원(작가) | ||
// 1번 회원(일반, 작가) | ||
Member member1 = memberService.join(new JoinForm("user1", "1234", "딸기", "[email protected]")); | ||
// 2번 회원(작가) | ||
// 2번 회원(일반, 작가) | ||
Member member2 = memberService.join(new JoinForm("user2", "1234", "초코", "[email protected]")); | ||
// 3번 회원(일반) | ||
Member member3 = memberService.join(new JoinForm("user3", "1234", null, "[email protected]")); | ||
// 4번 회원(일반, 관리자) | ||
Member member4 = memberService.join(new JoinForm("admin", "1234", null, "[email protected]")); | ||
|
||
// 1번 회원 캐시 50,000원 충전 | ||
memberService.addCash(member1, 50_000, "충전"); | ||
|