-
Notifications
You must be signed in to change notification settings - Fork 18
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
ARR: Fix ethics review tests #2070
Conversation
I am a little bit confused about why ethics review invitations were created for all submissions, if it should be created only for flagged submissions? It shouldn't matter when the ethics review super invitation is active. Edit: I see now why this is happening. Perhaps we should fix this in the submission process as well? Just like how we check if the invitation should be created for accepted submissions only, and if it is, we ignore the invitation:
@melisabok what do you think? |
@celestemartinez should we make that change in this PR? Only create invitations for |
yes, I can work on this |
This should be ready. |
Thanks @celestemartinez! feel free to approve and merge it. |
This PR sets the ethics review stage to be active in the future instead of activating it as soon as the tests start. This fixes a bug where all submissions had an ethics review invitation created since the ethics review super invitation was active while the submission process functions ran.
Edited to add: I changed the test to start the ethics review stage from the beginning, to make sure no Ethics_Review invitatinos are created since no papers are flagged.