Skip to content

Commit

Permalink
reorder api call
Browse files Browse the repository at this point in the history
  • Loading branch information
bellatoris committed Nov 4, 2023
1 parent 15a6c48 commit a07b7b0
Showing 1 changed file with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,13 @@ class GetChallengeTest : ChallengeITBase() {
challenge = challenge
)
}

mvc.sccRequest(
"/updateChallengeRanks",
null,
)
.andReturn()

val getChallengeResponse = mvc.sccRequest(
"/getChallenge",
GetChallengeRequestDto(
Expand All @@ -70,13 +77,6 @@ class GetChallengeTest : ChallengeITBase() {
user = users.first()
)
.getResult(GetChallengeResponseDto::class)

mvc.sccRequest(
"/updateChallengeRanks",
null,
)
.andReturn()

// 참여 후 상태 확인
assertTrue(getChallengeResponse.challenge.id == challenge.id)
assertTrue(getChallengeResponse.challenge.participationsCount == users.count())
Expand Down

0 comments on commit a07b7b0

Please sign in to comment.