PhilanthropyDataCommons / service

A project for collecting and serving public information associated with grant applications
GNU Affero General Public License v3.0
8 stars 2 forks source link

Fix test to use createOrganization #1028

Closed slifty closed 3 weeks ago

slifty commented 2 months ago

This PR removes a direct DB call in a test and replaces it with our DB utilities.

This was simply missed in a previous PR.

Related to #228

hminsky2002 commented 2 months ago

This PR removes a direct DB call in a test and replaces it without our DB utilities.

This was simply missed in a previous PR.

Related to #228

Did you mean replaces it with our DB utilities?

codecov[bot] commented 2 months ago

Codecov Report

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

Project coverage is 88.57%. Comparing base (ae8a21c) to head (aed19ad). Report is 1 commits behind head on main.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #1028 +/- ## ======================================= Coverage 88.57% 88.57% ======================================= Files 129 129 Lines 1725 1725 Branches 213 220 +7 ======================================= Hits 1528 1528 + Misses 197 182 -15 - Partials 0 15 +15 ```

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

slifty commented 3 weeks ago

I don't know why I didn't merge this in May but... what could go wrong I'm sure it will be fine!