Skip to content

Issue/#79

Issue/#79 #12

GitHub Actions / Unit Test Results failed Sep 10, 2024 in 0s

1 fail, 31 pass in 2s

32 tests   31 ✔️  2s ⏱️
  9 suites    0 💤
  9 files      1

Results for commit 4c571de.

Annotations

Check warning on line 0 in org.haedal.zzansuni.userchallenge.domain.application.UserRecordServiceTest

See this annotation in the file changed.

@github-actions github-actions / Unit Test Results

participateChallenge_신규_챌린지() (org.haedal.zzansuni.userchallenge.domain.application.UserRecordServiceTest) failed

zzansuni-api-server/app/build/test-results/test/TEST-org.haedal.zzansuni.userchallenge.domain.application.UserRecordServiceTest.xml
Raw output
java.lang.NullPointerException: Cannot invoke "java.lang.Integer.intValue()" because the return value of "org.haedal.zzansuni.challengegroup.domain.Challenge.getActivePeriod()" is null
	at org.haedal.zzansuni.userchallenge.domain.application.UserChallengeService.participateChallenge(UserChallengeService.java:53)
	at org.haedal.zzansuni.userchallenge.domain.application.UserRecordServiceTest.participateChallenge_신규_챌린지(UserRecordServiceTest.java:131)
	at java.base/java.lang.reflect.Method.invoke(Method.java:569)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)