mike cullerton
b78805c188
Added the IDs to the test assertions
2021-08-16 16:37:01 -04:00
mike cullerton
0bed15ac8a
Added 2 IRBInfoEvents, and 1 IRBInfoStatus
...
Also, we now return the IDs in the `current_irb_info` API endpoint
2021-08-16 16:36:22 -04:00
Dan Funk
0bcb4989c6
Merge pull request #65 from sartography/367-add-test-study-route
...
Add Test Study Route #367
2021-08-04 12:36:53 -04:00
mike cullerton
19d2dd6d7c
Added a new route that creates a new study for e2e tests in the frontend.
2021-08-04 12:16:49 -04:00
Dan Funk
aa782add30
Merge pull request #64 from sartography/pb-mock-review-type-pulldown-384
...
Pb mock review type pulldown #384
2021-07-22 14:15:03 -04:00
Dan Funk
8c145f4b69
Merge pull request #63 from sartography/pb-mock-release-fix-247
...
Possible fix for URL error on testing.
2021-07-22 14:13:32 -04:00
mike cullerton
c56a7c2344
Assert that even though we only submit REVIEW_TYPE in the form, both REVIEW_TYPE and REVIEWTYPENAME are set in the database.
2021-07-12 17:11:02 -04:00
mike cullerton
3018b174f7
We still store both values--REVIEW_TYPE and REVIEWTYPENAME, in the database
2021-07-12 17:10:00 -04:00
mike cullerton
25e789fe91
Merge REVIEW_TYPE and REVIEWTYPENAME fields in StudyDetailsForm into one form field containing both the type and the type name.
...
This makes it easier for the configurator and for processing in the backend.
2021-07-12 17:09:09 -04:00
mike cullerton
81109b01b3
Possible fix for URL error on testing.
2021-07-02 13:00:04 -04:00
Mike Cullerton
2d9ee7a48f
Merge pull request #62 from sartography/post-submission-states-247
...
Make sure our db query returned a result.
2021-07-01 12:21:57 -04:00
mike cullerton
5fe2151ad4
Simplified the code for maintainability.
...
SonarCloud didn't like the scent of my code.
2021-06-30 13:49:45 -04:00
mike cullerton
1b80f62136
Make sure our db query returned a result.
...
If not, don't seed data to the form.
2021-06-30 13:35:59 -04:00
Mike Cullerton
359f864572
Merge pull request #61 from sartography/update-pb-mock-tests-359
...
Update pb mock tests #359
2021-06-30 10:33:35 -04:00
Mike Cullerton
2a2ca9adf0
Merge pull request #60 from sartography/post-submission-states-247
...
Post submission states #247
2021-06-30 10:29:43 -04:00
mike cullerton
21da1e052b
These changes made possible by our change to Postgres for the PB Mock test database.
...
These tests failed in SQLite.
Modified test_delete_study to ensure existence of data we later delete.
Added test_update_study_from_csv which failed because of issue between SQLite and csv file data
2021-06-24 13:59:37 -04:00
mike cullerton
aae975013b
Fixed test to accommodate second document added by code 39
2021-06-24 11:16:16 -04:00
mike cullerton
242668b244
We now add 2 documents for doc code 39.
2021-06-24 11:14:38 -04:00
mike cullerton
e64ad057eb
Explicitly delete the IRBInfoEvent
and IRBInfoStatus
entries when deleting a study.
...
Interesting note, this was not necessary for SQLite, but failed the Travis CI build that used Postgres.
2021-06-23 12:33:04 -04:00
mike cullerton
5b8c3284d9
Changed the test database to use Postgres, instead of SQLite.
2021-06-23 12:31:10 -04:00
mike cullerton
40f5ffc24b
You mock me, Travis
2021-06-23 11:49:34 -04:00
mike cullerton
eaf3ad6e24
Will this build with Travis
2021-06-23 11:38:09 -04:00
mike cullerton
783952ef43
Will this pass Travis CI build?
2021-06-23 11:21:39 -04:00
mike cullerton
d71360f49a
Merge branch 'dev' into post-submission-states-247
...
# Conflicts:
# pb/pb_mock.py
Conflicts were import statements
2021-06-23 11:16:09 -04:00
Dan Funk
e4a57451d6
Merge pull request #59 from sartography/dependabot/pip/urllib3-1.26.5
...
Bump urllib3 from 1.26.4 to 1.26.5
2021-06-22 18:11:43 -04:00
Dan Funk
db9db61485
Merge pull request #58 from sartography/pb-mock-documents
...
Pb mock documents #272 #332
2021-06-22 18:11:31 -04:00
mike cullerton
a085629d1e
Declared study_id explicitly.
...
Hope this helps a failing Travis CI build
2021-06-22 15:50:12 -04:00
mike cullerton
f764c5ed79
Cleanup
2021-06-22 15:29:16 -04:00
mike cullerton
693ba256ba
Change IRBEVENT
and IRB_STATUS
to use field.Method
...
Created `get_event` and `get_status` to retrieve the specific values
2021-06-22 15:28:57 -04:00
mike cullerton
4f226ce12e
Set api back to the way it was
2021-06-22 15:13:02 -04:00
mike cullerton
cebeac38fc
Twiddling
2021-06-22 12:03:41 -04:00
mike cullerton
274e6cf5c3
Way to intercept data sent to IRBInfoSchema
2021-06-22 11:48:47 -04:00
mike cullerton
d79bb3cf7b
Minor changes
2021-06-22 11:47:56 -04:00
mike cullerton
1c36e470ba
Fixed failing test.
...
Added event and status data to irb_info section.
2021-06-21 14:50:46 -04:00
mike cullerton
abfd127aa1
Trying marshmallow_sqlalchemy.SQLAlchemySchema instead of Marshmallow.Schema
2021-06-21 12:59:31 -04:00
mike cullerton
f097b394b6
Migration script for DB changes.
...
Create new relationship tables for IRBEVENT and IRB_STATUS.
Change columns to relationships
2021-06-18 14:51:06 -04:00
mike cullerton
495537f2c1
Modify the edit_irb_info route to handle to new relationship tables for IRBEVENT and IRB_STATUS.
...
Have to explicitly seed the form data for some form fields.
2021-06-18 14:49:08 -04:00
mike cullerton
4809a52c99
Modify _update_irb_info to handle the new relationship for IRBEVENT and IRB_STATUS.
2021-06-18 14:46:13 -04:00
mike cullerton
f2040461d0
Modify IRBInfoForm to use the new IRBEVENT and IRB_STATUS relationships.
...
Have to define the form explicitly now, instead of automagically from the model.
2021-06-18 14:43:59 -04:00
mike cullerton
adc6954f9d
Modify irb_info table to use new IRBEVENT and IRB_STATUS table relationship
...
Remove IRBEVENT and IRB_STATUS from API schema. (Need to figure out how to get this to work)
2021-06-18 14:42:09 -04:00
mike cullerton
c0f2ca1d38
Adding classes to support the new IRB Post Submission States and Events
2021-06-18 14:40:11 -04:00
dependabot[bot]
48680f9dc8
Bump urllib3 from 1.26.4 to 1.26.5
...
Bumps [urllib3](https://github.com/urllib3/urllib3 ) from 1.26.4 to 1.26.5.
- [Release notes](https://github.com/urllib3/urllib3/releases )
- [Changelog](https://github.com/urllib3/urllib3/blob/main/CHANGES.rst )
- [Commits](https://github.com/urllib3/urllib3/compare/1.26.4...1.26.5 )
---
updated-dependencies:
- dependency-name: urllib3
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-06-02 00:59:12 +00:00
Mike Cullerton
652c9b908f
Merge branch 'dev' into pb-mock-documents
2021-05-27 08:49:45 -04:00
mike cullerton
8613f7542f
Cleanup
2021-05-26 17:11:06 -04:00
mike cullerton
04d1d6131f
Cleanup - removed unused/commented lines
2021-05-26 17:05:23 -04:00
mike cullerton
ed7d9b20f5
Cleanup
2021-05-26 17:00:07 -04:00
mike cullerton
e1abdd33d1
Form and model changes for the new column
2021-05-26 16:51:41 -04:00
mike cullerton
a4665a6eb5
Migration script for new column in study_details
2021-05-26 16:51:12 -04:00
mike cullerton
ebd0850297
Example study details data for running in development.
2021-05-26 16:50:12 -04:00
mike cullerton
64e3710eff
New pb_mock code for verifying the list of study details.
2021-05-26 16:48:56 -04:00