fix: BillAction 수정시 BillDetail 초기화 안되는 버그 수정 #54
GitHub Actions / JUnit Test Report
failed
Aug 21, 2024 in 0s
115 tests run, 114 passed, 0 skipped, 1 failed.
Annotations
github-actions / JUnit Test Report
BillActionServiceTest.지출 내역 금액을 변경하면 지출 디테일이 초기화 된다.
java.lang.AssertionError: [Extracted: memberName, price]
Expecting actual:
[("감자", 3000L), ("고구마", 2000L), ("당근", 3000L), ("양파", 2000L)]
to contain exactly in any order:
[("감자", 5000L), ("고구마", 5000L), ("당근", 5000L), ("양파", 5000L)]
elements not found:
[("감자", 5000L), ("고구마", 5000L), ("당근", 5000L), ("양파", 5000L)]
and elements not expected:
[("감자", 3000L), ("고구마", 2000L), ("당근", 3000L), ("양파", 2000L)]
Raw output
java.lang.AssertionError: [Extracted: memberName, price]
Expecting actual:
[("감자", 3000L), ("고구마", 2000L), ("당근", 3000L), ("양파", 2000L)]
to contain exactly in any order:
[("감자", 5000L), ("고구마", 5000L), ("당근", 5000L), ("양파", 5000L)]
elements not found:
[("감자", 5000L), ("고구마", 5000L), ("당근", 5000L), ("양파", 5000L)]
and elements not expected:
[("감자", 3000L), ("고구마", 2000L), ("당근", 3000L), ("양파", 2000L)]
at server.haengdong.application.BillActionServiceTest.updateBillAction2(BillActionServiceTest.java:181)
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)
Loading