File tree Expand file tree Collapse file tree 2 files changed +9
-2
lines changed
backend/src/test/java/com/example/backend/auth/api/service/oauth Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -55,12 +55,18 @@ jobs:
55
55
runs-on : self-hosted
56
56
needs : test
57
57
steps :
58
+ - name : Upload Report
59
+ uses : ' actions/upload-artifact@v2'
60
+ with :
61
+ name : report.xml
62
+ path : ${{ github.workspace }}/backend/build/reports/jacoco/test/jacocoTestReport.xml
58
63
- name : 테스트 커버리지를 PR에 코멘트로 등록합니다
59
64
id : jacoco
60
- uses : madrapps/jacoco-report@v1.2
65
+ uses : madrapps/jacoco-report@v1.6.1
61
66
with :
62
67
title : 📝 테스트 커버리지 리포트
63
68
paths : ${{ github.workspace }}/backend/build/reports/jacoco/test/jacocoTestReport.xml
64
69
token : ${{ secrets.GITHUB_TOKEN }}
65
70
min-coverage-overall : 50
66
71
min-coverage-changed-files : 50
72
+ update-comment : true
Original file line number Diff line number Diff line change @@ -45,6 +45,7 @@ class OAuthServiceTest extends TestConfig {
45
45
@ MockBean
46
46
private KakaoAdapter kakaoAdapter ;
47
47
48
+ @ Autowired
48
49
private GoogleURLBuilder googleurlBuilder ;
49
50
50
51
@ MockBean
@@ -68,7 +69,7 @@ void allUrlBuilderSuccess() {
68
69
// then
69
70
//assertThat(loginPages.get(0).getUrl()).isEqualTo(authorizeURL);
70
71
71
- assertThat (loginPages ).hasSize (2 ); // 리스트 크기 확인
72
+ assertThat (loginPages ).hasSize (3 ); // 리스트 크기 확인
72
73
73
74
// 각 플랫폼별 URL인지 확인
74
75
boolean containsGithub = loginPages .stream ()
You can’t perform that action at this time.
0 commit comments