Skip to content

Commit

Permalink
style : 코드 포맷팅
Browse files Browse the repository at this point in the history
  • Loading branch information
kkangh00n committed Apr 16, 2024
1 parent 8da65dd commit 6f3657b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
public class OAuth2LoginSuccessHandler extends SimpleUrlAuthenticationSuccessHandler {

private final String DOMAIN = "http://localhost:5173";
// "https://team-civilwar-boardsignal-fe.pages.dev";
// "https://team-civilwar-boardsignal-fe.pages.dev";
private final String REFRESHTOKEN_NAME = "RefreshToken_Id";

private final AuthService authService;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package com.civilwar.boardsignal.user.presentation;

import static org.assertj.core.api.Assertions.assertThat;
import static org.mockito.BDDMockito.*;
import static org.mockito.BDDMockito.given;
import static org.springframework.http.HttpHeaders.AUTHORIZATION;
import static org.springframework.test.web.servlet.request.MockMvcRequestBuilders.get;
import static org.springframework.test.web.servlet.request.MockMvcRequestBuilders.multipart;
Expand Down Expand Up @@ -36,7 +36,6 @@
import java.util.function.Supplier;
import org.junit.jupiter.api.DisplayName;
import org.junit.jupiter.api.Test;
import org.mockito.BDDMockito;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.mock.mockito.MockBean;
import org.springframework.http.HttpMethod;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ void joinUserTest() throws IOException {
User userFixture = UserFixture.getUserFixture(providerId, testUrl);
Boolean isJoined = userFixture.getIsJoined();

when(now.get()).thenReturn(LocalDateTime.of(2024,11,20,0,0,0));
when(now.get()).thenReturn(LocalDateTime.of(2024, 11, 20, 0, 0, 0));
when(imageRepository.save(imageFixture)).thenReturn(testUrl);
when(userRepository.findById(id)).thenReturn(Optional.of(userFixture));
ReflectionTestUtils.setField(userFixture, "id", id);
Expand Down

0 comments on commit 6f3657b

Please sign in to comment.