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

Fix for StatusController integration test #294

Closed MadeByMM closed 1 year ago

MadeByMM commented 1 year ago

Added authentication tokens using the methods found in the AccountControllerTest

Description

This fixes the integration tests for StatusController failing, by including authorization tokens in each test. The method for retrieving the tokens was taken from AccountControllerTest.

Fixes #\<283>

Type of change

Delete unchecked boxes (only for Type of change)

How Has This Been Tested?

Three different devices have run the tests and all have passed.

Development Configuration Type "flutter --version" and "dart --version" in your CMD to check versions.

Checklist:

J2KJonas commented 1 year ago

After approving it seems that I had some problems with connecting to the db, after that got fixed then some rather interesting errors seem to make the test to fail / not being recognised at all image

MadeByMM commented 1 year ago

Since there are errors that we cannot recreate on our end, we are closing this pull request for now.