Skip to content

Commit

Permalink
Google Java Format
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions committed Sep 26, 2023
1 parent 25d1607 commit 53561d5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public ResponseEntity<AfterLoginDto> saveMember(
}

@GetMapping("/validate")
public ResponseEntity<Void> validate(){
public ResponseEntity<Void> validate() {
return ResponseEntity.noContent().build();
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
import com.twtw.backend.domain.member.dto.response.TokenDto;
import com.twtw.backend.domain.member.entity.AuthStatus;
import com.twtw.backend.domain.member.entity.AuthType;
import com.twtw.backend.domain.member.entity.Role;
import com.twtw.backend.domain.member.service.AuthService;
import com.twtw.backend.support.docs.RestDocsTest;

Expand All @@ -44,11 +43,12 @@ void validate() throws Exception {
mockMvc.perform(
get("/auth/validate")
.contentType(MediaType.APPLICATION_JSON)
.header("Authorization",
.header(
"Authorization",
"Bearer wefa3fsdczf32.gaoiuergf92.gb5hsa2jgh"));
// then
perform.andExpect(status().isNoContent());
//docs
// docs

perform.andDo(print())
.andDo(document("토큰 유효성 검사 성공", getDocumentRequest(), getDocumentResponse()));
Expand Down

0 comments on commit 53561d5

Please sign in to comment.