generated from pricelees/issue-pr-template
[#41] 예약 스키마 재정의 #42
@ -49,6 +49,11 @@ class LoginUtil(
|
||||
fun loginAsUser(): String {
|
||||
return login(MemberFixture.user.email, MemberFixture.user.password)
|
||||
}
|
||||
|
||||
fun getUser(): MemberEntity = memberRepository.findByEmailAndPassword(
|
||||
MemberFixture.user.email,
|
||||
MemberFixture.user.password
|
||||
) ?: throw AssertionError("Unexpected Exception Occurred.")
|
||||
}
|
||||
|
||||
fun runTest(
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user