File tree Expand file tree Collapse file tree 2 files changed +10
-8
lines changed
main/java/com/somemore/global/config
test/java/com/somemore/user/repository/user Expand file tree Collapse file tree 2 files changed +10
-8
lines changed Original file line number Diff line number Diff line change 11package com .somemore .global .config ;
22
33import com .fasterxml .jackson .databind .ObjectMapper ;
4- import com .somemore .global .auth .cookie .CookieUseCase ;
54import com .somemore .global .auth .idpw .filter .IdPwAuthFilter ;
65import com .somemore .global .auth .jwt .filter .JwtAuthFilter ;
76import com .somemore .global .auth .jwt .filter .JwtExceptionFilter ;
1211import lombok .RequiredArgsConstructor ;
1312import org .springframework .context .annotation .Bean ;
1413import org .springframework .context .annotation .Configuration ;
15- import org .springframework .security .config .Customizer ;
1614import org .springframework .security .authentication .AuthenticationManager ;
15+ import org .springframework .security .config .Customizer ;
1716import org .springframework .security .config .annotation .authentication .configuration .AuthenticationConfiguration ;
1817import org .springframework .security .config .annotation .method .configuration .EnableMethodSecurity ;
1918import org .springframework .security .config .annotation .web .builders .HttpSecurity ;
Original file line number Diff line number Diff line change @@ -32,8 +32,9 @@ void saveOAuthVolunteerUser() {
3232 User savedUser = userRepository .save (user );
3333
3434 // then
35- assertThat (savedUser ).isNotNull ();
36- assertThat (savedUser ).isEqualTo (user );
35+ assertThat (savedUser )
36+ .isNotNull ()
37+ .isEqualTo (user );
3738 }
3839
3940 @ DisplayName ("OAuth 유저(기관)를 저장할 수 있다." )
@@ -47,8 +48,9 @@ void saveOAuthCenterUser() {
4748 User savedUser = userRepository .save (user );
4849
4950 // then
50- assertThat (savedUser ).isNotNull ();
51- assertThat (savedUser ).isEqualTo (user );
51+ assertThat (savedUser )
52+ .isNotNull ()
53+ .isEqualTo (user );
5254 }
5355
5456 @ DisplayName ("Local 유저(기관)를 저장할 수 있다." )
@@ -62,8 +64,9 @@ void saveLocalCenterUser() {
6264 User savedUser = userRepository .save (user );
6365
6466 // then
65- assertThat (savedUser ).isNotNull ();
66- assertThat (savedUser ).isEqualTo (user );
67+ assertThat (savedUser )
68+ .isNotNull ()
69+ .isEqualTo (user );
6770 }
6871
6972 @ DisplayName ("유저아이디로 유저를 조회할 수 있다." )
You can’t perform that action at this time.
0 commit comments