aau-giraf / web-api

The backend API for GIRAF — a .NET-core project written in C#.
GNU General Public License v3.0
2 stars 5 forks source link

Feature/283 #312

Closed emilnormann closed 1 year ago

emilnormann commented 1 year ago

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: