Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix failing test for mysql #664

Merged
merged 1 commit into from
Jul 22, 2024
Merged

Fix failing test for mysql #664

merged 1 commit into from
Jul 22, 2024

Conversation

amstilp
Copy link
Contributor

@amstilp amstilp commented Jul 22, 2024

test_dbgap_project_id_does_not_match was failing only in mysql likely because in mysql tests, the pk field does not reset to 1 for each test. A (new) previous test likely created a dbGaP application, so when this test had the project_id hard-coded, it failed. Now, set the dbGaP application project_id using the application that the test created in the setup method.

test_dbgap_project_id_does_not_match was failing only in mysql likely
because in mysql tests, the pk field does not reset to 1 for each test.
A (new) previous test likely created a dbGaP application, so when this
test had the project_id hard-coded, it failed. Now, set the dbGaP
application project_id using the application that the test created
in the setup method.
Copy link

codecov bot commented Jul 22, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 99.00%. Comparing base (bdfe771) to head (e2e8f97).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #664   +/-   ##
=======================================
  Coverage   99.00%   99.00%           
=======================================
  Files         325      325           
  Lines       30411    30411           
=======================================
  Hits        30109    30109           
  Misses        302      302           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@amstilp amstilp marked this pull request as ready for review July 22, 2024 21:09
@amstilp amstilp merged commit 854f241 into main Jul 22, 2024
11 checks passed
@amstilp amstilp deleted the maint/fix-mysql-failing-test branch July 22, 2024 21:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant