Skip to content

chore(deps): update dependency prettier to v3 #484

chore(deps): update dependency prettier to v3

chore(deps): update dependency prettier to v3 #484

This check has been archived and is scheduled for deletion. Learn more about checks retention
GitHub Actions / Test results succeeded Sep 19, 2023 in 0s

Test results ✅

Tests passed successfully

Report Passed Failed Skipped Time
test/TEST-de.codecentric.hc.report.api.AchievementRatesExtKtTest.xml 2✅ 4ms
test/TEST-de.codecentric.hc.report.date.LocalDateExtKtTest.xml 1✅ 3ms
test/TEST-de.codecentric.hc.report.DateIteratorTest$has#20next.xml 3✅ 180ms
test/TEST-de.codecentric.hc.report.DateIteratorTest$next.xml 4✅ 25ms
test/TEST-de.codecentric.hc.report.HabitServiceTest.xml 1✅ 1s
test/TEST-de.codecentric.hc.report.HabitTrackingServiceTest.xml 1✅ 24ms
test/TEST-de.codecentric.hc.report.ReportApplicationTests.xml 1✅ 26ms
test/TEST-de.codecentric.hc.report.ReportControllerIntegrationTest.xml 1✅ 404ms
test/TEST-de.codecentric.hc.report.ReportPeriodTest$last#2030#20days.xml 2✅ 8ms
test/TEST-de.codecentric.hc.report.ReportPeriodTest$last#207#20days.xml 2✅ 3ms
test/TEST-de.codecentric.hc.report.ReportServiceTest$monthly#20rate.xml 4✅ 1s
test/TEST-de.codecentric.hc.report.ReportServiceTest$weekly#20rate.xml 4✅ 98ms
test/TEST-de.codecentric.hc.report.TrackedHabitServiceTest$given#201#20habit#20of#20each#20schedule#20frequency#20with#201#20track#20each.xml 2✅ 213ms
test/TEST-de.codecentric.hc.report.TrackedHabitTest$get#20scheduled#20repetitions#20for#20period$given#20daily#20habit.xml 3✅ 4ms
test/TEST-de.codecentric.hc.report.TrackedHabitTest$get#20scheduled#20repetitions#20for#20period$given#20monthly#20habit.xml 4✅ 15ms
test/TEST-de.codecentric.hc.report.TrackedHabitTest$get#20scheduled#20repetitions#20for#20period$given#20weekly#20habit.xml 4✅ 11ms
test/TEST-de.codecentric.hc.report.TrackedHabitTest$get#20tracked#20repetitions#20for#20period.xml 3✅ 6ms
test/TEST-de.codecentric.hc.report.web.header.propagation.HeaderPropagationConfigurationTest.xml 5✅ 241ms
test/TEST-de.codecentric.hc.report.web.header.propagation.HeaderPropagationIntegrationTest.xml 8✅ 941ms
test/TEST-de.codecentric.hc.report.web.header.propagation.HeaderPropagationRequestInterceptorTest.xml 1✅ 672ms
test/TEST-de.codecentric.hc.report.web.header.propagation.ServletRequestHeaderInterceptorTest.xml 8✅ 443ms
test/TEST-de.codecentric.hc.report.web.header.propagation.TracingBaggageHeaderPropagationIntegrationTest.xml 1✅ 52ms

✅ test/TEST-de.codecentric.hc.report.api.AchievementRatesExtKtTest.xml

2 tests were completed in 4ms with 2 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
de.codecentric.hc.report.api.AchievementRatesExtKtTest 2✅ 4ms

✅ de.codecentric.hc.report.api.AchievementRatesExtKtTest

✅ should map week rate()
✅ should map month rate()

✅ test/TEST-de.codecentric.hc.report.date.LocalDateExtKtTest.xml

1 tests were completed in 3ms with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
de.codecentric.hc.report.date.LocalDateExtKtTest 1✅ 3ms

✅ de.codecentric.hc.report.date.LocalDateExtKtTest

✅ date range should contain every date()

✅ test/TEST-de.codecentric.hc.report.DateIteratorTest$has#20next.xml

3 tests were completed in 180ms with 3 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
de.codecentric.hc.report.DateIteratorTest$has next 3✅ 180ms

✅ de.codecentric.hc.report.DateIteratorTest$has next

✅ returns true when next date is before inclusive end date()
✅ returns false when next date is after inclusive end date()
✅ returns true when next date is equal to inclusive end date()

✅ test/TEST-de.codecentric.hc.report.DateIteratorTest$next.xml

4 tests were completed in 25ms with 4 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
de.codecentric.hc.report.DateIteratorTest$next 4✅ 25ms

✅ de.codecentric.hc.report.DateIteratorTest$next

✅ given day step of 2 and second call, returns two days after start day()
✅ given first call, returns start date()
✅ should throw NoSuchElementException when inclusive end date was exceeded()
✅ given day step of 1 and second call, returns day after start day()

✅ test/TEST-de.codecentric.hc.report.HabitServiceTest.xml

1 tests were completed in 1s with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
de.codecentric.hc.report.HabitServiceTest 1✅ 1s

✅ de.codecentric.hc.report.HabitServiceTest

✅ should call habit endpoint()

✅ test/TEST-de.codecentric.hc.report.HabitTrackingServiceTest.xml

1 tests were completed in 24ms with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
de.codecentric.hc.report.HabitTrackingServiceTest 1✅ 24ms

✅ de.codecentric.hc.report.HabitTrackingServiceTest

✅ should call habit tracking endpoint with habit ID()

✅ test/TEST-de.codecentric.hc.report.ReportApplicationTests.xml

1 tests were completed in 26ms with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
de.codecentric.hc.report.ReportApplicationTests 1✅ 26ms

✅ de.codecentric.hc.report.ReportApplicationTests

✅ contextLoads()

✅ test/TEST-de.codecentric.hc.report.ReportControllerIntegrationTest.xml

1 tests were completed in 404ms with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
de.codecentric.hc.report.ReportControllerIntegrationTest 1✅ 404ms

✅ de.codecentric.hc.report.ReportControllerIntegrationTest

✅ should return report()

✅ test/TEST-de.codecentric.hc.report.ReportPeriodTest$last#2030#20days.xml

2 tests were completed in 8ms with 2 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
de.codecentric.hc.report.ReportPeriodTest$last 30 days 2✅ 8ms

✅ de.codecentric.hc.report.ReportPeriodTest$last 30 days

✅ should return date range from today that includes 30 days()
✅ should include daily, weekly and monthly frequency()

✅ test/TEST-de.codecentric.hc.report.ReportPeriodTest$last#207#20days.xml

2 tests were completed in 3ms with 2 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
de.codecentric.hc.report.ReportPeriodTest$last 7 days 2✅ 3ms

✅ de.codecentric.hc.report.ReportPeriodTest$last 7 days

✅ should include daily and weekly frequency()
✅ should return date range from today that includes 7 days()

✅ test/TEST-de.codecentric.hc.report.ReportServiceTest$monthly#20rate.xml

4 tests were completed in 1s with 4 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
de.codecentric.hc.report.ReportServiceTest$monthly rate 4✅ 1s

✅ de.codecentric.hc.report.ReportServiceTest$monthly rate

✅ given 3 habits with sum of 3 actual repetitions and 4 scheduled repetitions, should return 0,75()
✅ given monthly rate deactivated, should set monthly rate to null()
✅ given 1 habit with 2 actual repetitions and 4 scheduled repetitions, should return 0,5()
✅ given 1 daily habit with no tracks, should return 0()

✅ test/TEST-de.codecentric.hc.report.ReportServiceTest$weekly#20rate.xml

4 tests were completed in 98ms with 4 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
de.codecentric.hc.report.ReportServiceTest$weekly rate 4✅ 98ms

✅ de.codecentric.hc.report.ReportServiceTest$weekly rate

✅ given 1 habit with 2 actual repetitions and 4 scheduled repetitions, should return 0,5()
✅ given 1 daily habit with no tracks, should return 0()
✅ given 2 habits with sum of 1 actual repetition and 4 scheduled repetitions, should return 0,25()
✅ given 1 daily, 1 weekly and 1 monthly habit, should not include monthly habit in weekly rate()

✅ test/TEST-de.codecentric.hc.report.TrackedHabitServiceTest$given#201#20habit#20of#20each#20schedule#20frequency#20with#201#20track#20each.xml

2 tests were completed in 213ms with 2 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
de.codecentric.hc.report.TrackedHabitServiceTest$given 1 habit of each schedule frequency with 1 track each 2✅ 213ms

✅ de.codecentric.hc.report.TrackedHabitServiceTest$given 1 habit of each schedule frequency with 1 track each

✅ given daily frequency, return 1 tracked habit with one track$report_test()
✅ given daily, weekly and monthly frequency, return 3 tracked habits with one track each$report_test()

✅ test/TEST-de.codecentric.hc.report.TrackedHabitTest$get#20scheduled#20repetitions#20for#20period$given#20daily#20habit.xml

3 tests were completed in 4ms with 3 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
de.codecentric.hc.report.TrackedHabitTest$get scheduled repetitions for period$given daily habit 3✅ 4ms

✅ de.codecentric.hc.report.TrackedHabitTest$get scheduled repetitions for period$given daily habit

✅ given one repetition and 30-day period, should return 30()
✅ given one repetition and 7-day period, should return 7()
✅ given two repetitions and 30-day period, should return 60()

✅ test/TEST-de.codecentric.hc.report.TrackedHabitTest$get#20scheduled#20repetitions#20for#20period$given#20monthly#20habit.xml

4 tests were completed in 15ms with 4 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
de.codecentric.hc.report.TrackedHabitTest$get scheduled repetitions for period$given monthly habit 4✅ 15ms

✅ de.codecentric.hc.report.TrackedHabitTest$get scheduled repetitions for period$given monthly habit

✅ given two repetitions and 30-day period, should return 2()
✅ given four repetitions and 7-day period, should return 1()
✅ given one repetition and 30-day period, should return 1()
✅ given one repetition and 7-day period, should return 0()

✅ test/TEST-de.codecentric.hc.report.TrackedHabitTest$get#20scheduled#20repetitions#20for#20period$given#20weekly#20habit.xml

4 tests were completed in 11ms with 4 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
de.codecentric.hc.report.TrackedHabitTest$get scheduled repetitions for period$given weekly habit 4✅ 11ms

✅ de.codecentric.hc.report.TrackedHabitTest$get scheduled repetitions for period$given weekly habit

✅ given two repetitions and 30-day period, should return 9()
✅ given two repetitions and 7-day period, should return 2()
✅ given one repetition and 30-day period, should return 4()
✅ given one repetition and 7-day period, should return 1()

✅ test/TEST-de.codecentric.hc.report.TrackedHabitTest$get#20tracked#20repetitions#20for#20period.xml

3 tests were completed in 6ms with 3 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
de.codecentric.hc.report.TrackedHabitTest$get tracked repetitions for period 3✅ 6ms

✅ de.codecentric.hc.report.TrackedHabitTest$get tracked repetitions for period

✅ given two of three tracks are in date range, should return 2$report_test()
✅ given three tracks are in date range, should return 3$report_test()
✅ given one track is in date range, should return 1$report_test()

✅ test/TEST-de.codecentric.hc.report.web.header.propagation.HeaderPropagationConfigurationTest.xml

5 tests were completed in 241ms with 5 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
de.codecentric.hc.report.web.header.propagation.HeaderPropagationConfigurationTest 5✅ 241ms

✅ de.codecentric.hc.report.web.header.propagation.HeaderPropagationConfigurationTest

✅ should not provide header propagation rest template customizer bean when tracing is active()
✅ should configure request scoped header propagation data when tracing is not active()
✅ should inject servlet request interceptor when tracing is not active()
✅ should not inject servlet request interceptor when tracing is active()
✅ should provide header propagation rest template customizer bean when tracing is not active()

✅ test/TEST-de.codecentric.hc.report.web.header.propagation.HeaderPropagationIntegrationTest.xml

8 tests were completed in 941ms with 8 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
de.codecentric.hc.report.web.header.propagation.HeaderPropagationIntegrationTest 8✅ 941ms

✅ de.codecentric.hc.report.web.header.propagation.HeaderPropagationIntegrationTest

✅ [1] header=Authorization
✅ [2] header=x-request-id
✅ [3] header=x-b3-traceid
✅ [4] header=x-b3-spanid
✅ [5] header=x-b3-parentspanid
✅ [6] header=x-b3-sampled
✅ [7] header=x-b3-flags
✅ [8] header=x-ot-span-context

✅ test/TEST-de.codecentric.hc.report.web.header.propagation.HeaderPropagationRequestInterceptorTest.xml

1 tests were completed in 672ms with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
de.codecentric.hc.report.web.header.propagation.HeaderPropagationRequestInterceptorTest 1✅ 672ms

✅ de.codecentric.hc.report.web.header.propagation.HeaderPropagationRequestInterceptorTest

✅ should set all headers in the outgoing request()

✅ test/TEST-de.codecentric.hc.report.web.header.propagation.ServletRequestHeaderInterceptorTest.xml

8 tests were completed in 443ms with 8 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
de.codecentric.hc.report.web.header.propagation.ServletRequestHeaderInterceptorTest 8✅ 443ms

✅ de.codecentric.hc.report.web.header.propagation.ServletRequestHeaderInterceptorTest

✅ [1] header=Authorization
✅ [2] header=x-request-id
✅ [3] header=x-b3-traceid
✅ [4] header=x-b3-spanid
✅ [5] header=x-b3-parentspanid
✅ [6] header=x-b3-sampled
✅ [7] header=x-b3-flags
✅ [8] header=x-ot-span-context

✅ test/TEST-de.codecentric.hc.report.web.header.propagation.TracingBaggageHeaderPropagationIntegrationTest.xml

1 tests were completed in 52ms with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
de.codecentric.hc.report.web.header.propagation.TracingBaggageHeaderPropagationIntegrationTest 1✅ 52ms

✅ de.codecentric.hc.report.web.header.propagation.TracingBaggageHeaderPropagationIntegrationTest

✅ [1] header=Authorization