Skip to content
New issue

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

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

Already on GitHub? # to your account

[Testing] changeProject helper function for LorisIntegrationTest.class.inc #6911

Closed
AlexandraLivadas opened this issue Aug 13, 2020 · 0 comments · Fixed by #6912
Closed

[Testing] changeProject helper function for LorisIntegrationTest.class.inc #6911

AlexandraLivadas opened this issue Aug 13, 2020 · 0 comments · Fixed by #6912
Assignees
Labels
Proposal PR or Issue suggesting an improvement that can be accepted, rejected or altered Testing PR contains test plan or automated test code (or config files for Travis)

Comments

@AlexandraLivadas
Copy link
Contributor

In order to test project permissions across modules, there needs to be a helper function in LorisIntegrationTest.class.inc to change the project of a user. This should be similar to the changeStudySite method.

@AlexandraLivadas AlexandraLivadas added Testing PR contains test plan or automated test code (or config files for Travis) Proposal PR or Issue suggesting an improvement that can be accepted, rejected or altered labels Aug 13, 2020
@AlexandraLivadas AlexandraLivadas self-assigned this Aug 13, 2020
driusan pushed a commit that referenced this issue Aug 25, 2020
…sts (#6912)

Add 2 helper functions, changeProject and resetProject, to the LorisIntegrationTest.class.inc class. These will allow us to test project permissions on modules.

Also added initial integration tests for the candidate_profile module, including a project permission test.

    Resolves #6911
zaliqarosli pushed a commit to zaliqarosli/Loris that referenced this issue Sep 3, 2020
…sts (aces#6912)

Add 2 helper functions, changeProject and resetProject, to the LorisIntegrationTest.class.inc class. These will allow us to test project permissions on modules.

Also added initial integration tests for the candidate_profile module, including a project permission test.

    Resolves aces#6911
AlexandraLivadas added a commit to AlexandraLivadas/Loris that referenced this issue Jun 29, 2021
…sts (aces#6912)

Add 2 helper functions, changeProject and resetProject, to the LorisIntegrationTest.class.inc class. These will allow us to test project permissions on modules.

Also added initial integration tests for the candidate_profile module, including a project permission test.

    Resolves aces#6911
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Proposal PR or Issue suggesting an improvement that can be accepted, rejected or altered Testing PR contains test plan or automated test code (or config files for Travis)
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant