massenergize / api

Backend Code for Massenergize Portal. This provides the API to the backend database, and is shared by the various front-end portal projects.
MIT License
5 stars 9 forks source link

Sharable testimonials models #1164

Closed archx3 closed 1 month ago

archx3 commented 2 months ago

Summary / Highlights

Details (Give details about what this PR accomplishes, include any screenshots etc)

Testing Steps (Provide details on how your changes can be tested)

Adjusted TestimonialAutoShareSettings model to allow null values for sharing fields. Updated corresponding migration to reflect these changes, ensuring compatibility with data integrity constraints.

Requirements (place an x in each [ ])

Transparency (Project board)
codecov[bot] commented 2 months ago

Codecov Report

Attention: Patch coverage is 22.03390% with 46 lines in your changes missing coverage. Please review.

Project coverage is 56.39%. Comparing base (78b333e) to head (43fc3af).

Files with missing lines Patch % Lines
src/api/store/testimonial.py 27.58% 21 Missing :warning:
src/api/handlers/testimonial.py 10.52% 17 Missing :warning:
src/api/services/testimonial.py 11.11% 8 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #1164 +/- ## ========================================== - Coverage 56.45% 56.39% -0.06% ========================================== Files 470 470 Lines 34433 34478 +45 ========================================== + Hits 19439 19444 +5 - Misses 14994 15034 +40 ```

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