tutorcruncher / hermes

1 stars 0 forks source link

Fix termination category #235

Closed PrenSJ2 closed 2 months ago

PrenSJ2 commented 3 months ago

Close https://github.com/tutorcruncher/TutorCruncher2/issues/13663

Description

before posting to tc2 clients we modify the extra_attrs termination_category_value so that it replaces the space with -

we do this because TC2 expects dropdown values to be lowercase stripped and with a dash between words

Recreation steps:

Testing steps:

codecov-commenter commented 3 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 93.78%. Comparing base (a42ad87) to head (f3a793b).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #235 +/- ## ========================================== + Coverage 93.77% 93.78% +0.01% ========================================== Files 29 29 Lines 1654 1657 +3 Branches 212 214 +2 ========================================== + Hits 1551 1554 +3 Misses 66 66 Partials 37 37 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

PrenSJ2 commented 2 months ago

https://github.com/tutorcruncher/hermes/pull/240 should be merged first