Skip to content

Commit

Permalink
[BE] refactor(#51): OAuthServiceTest 오류수정
Browse files Browse the repository at this point in the history
* 어노테이션 추가
* 리스트 크기 추가
  • Loading branch information
j-ra1n committed Jan 21, 2024
1 parent b51ffc4 commit e793e44
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ class OAuthServiceTest extends TestConfig {
@MockBean
private KakaoAdapter kakaoAdapter;

@Autowired
private GoogleURLBuilder googleurlBuilder;

@MockBean
Expand All @@ -68,7 +69,7 @@ void allUrlBuilderSuccess() {
// then
//assertThat(loginPages.get(0).getUrl()).isEqualTo(authorizeURL);

assertThat(loginPages).hasSize(2); // 리스트 크기 확인
assertThat(loginPages).hasSize(3); // 리스트 크기 확인

// 각 플랫폼별 URL인지 확인
boolean containsGithub = loginPages.stream()
Expand Down

0 comments on commit e793e44

Please sign in to comment.