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

Develop integration tests for Activity Controller. #376

Open JMyrtue opened 9 months ago

JMyrtue commented 9 months ago

Description

During the refactoring of this semester, it was found that the activity controller did not include any integration tests, but instead a commented section describing what endpoints should be tested.

This is an obvious mistake, as the functionality is implemented and being used in the current version of the application. Accordingly, creating test cases for the controller, should be of a high priority.

The file missing the test cases is the ActivityControllerTest in the Giraf.IntegrationTest.Tests directory.

Possible Suggested Solution