Fixes integration tests so they all pass. The status controller tests mostly failed because they did not have authorization, which has been fixed by logging in as a guardian.
One test specifically did not pass actions after that because it looks at local file structure which gave an exception. This has been fixed by finding specific exceptions and making these pass the integration test because it is not an issue with the server or implementation but the file system.
This could be expanded upon but I do not know of any other cases of not being able to access the files.
The user settings test failed simply because it did not match its own mock data, the test has been updated.
Fixes #283
Type of change
Delete unchecked boxes (only for Type of change)
[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update
How Has This Been Tested?
Tests pass now.
Checklist:
[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas, if necessary
[ ] I have made corresponding changes to the documentation, if necessary
[x] My changes generate no new warnings
[x] I have added tests that prove my fix is effective or that my feature works, if necessary
[x] New and existing unit tests pass locally with my changes
[x] Any dependent changes have been merged and published in downstream modules
[ ] I have Acceptance Tested this on an iOS device
[ ] I have Acceptance Tested this on an Android device
Description
Fixes integration tests so they all pass. The status controller tests mostly failed because they did not have authorization, which has been fixed by logging in as a guardian.
One test specifically did not pass actions after that because it looks at local file structure which gave an exception. This has been fixed by finding specific exceptions and making these pass the integration test because it is not an issue with the server or implementation but the file system.
This could be expanded upon but I do not know of any other cases of not being able to access the files.
The user settings test failed simply because it did not match its own mock data, the test has been updated.
Fixes #283
Type of change
Delete unchecked boxes (only for Type of change)
How Has This Been Tested?
Tests pass now.
Checklist: