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

Fixed AccountController Integration test #290

Closed mikejensen0 closed 2 years ago

mikejensen0 commented 2 years ago

Description

The AccountController integration test failed because the UserController was missing request handling, which previously existed, but was removed in a refactor in pr#241. We assume that they forgot to re-add the request handling. This has been added and works on my machine.

Fixes #279

Type of change

How Has This Been Tested?

The integration tests were run locally. This was done in both the feature branch and in the develop branch to see that no other tests would start failing.

Development Configuration

Checklist:

ltranu20 commented 2 years ago

I was able to run the tests and all 26 of them passed

What about that big, fat error at the top that completely breaks unit tests?

Taoshix commented 2 years ago

I was able to run the tests and all 26 of them passed

What about that big, fat error at the top that completely breaks unit tests?

That is related to #281 and the UserController while this PR was about the AccountController

manfredhod commented 2 years ago

I was able to run the tests and all 26 of them passed

What about that big, fat error at the top that completely breaks unit tests?

That is related to #281 and the UserController while this PR was about the AccountController

They change the UserController in the PR therefore, the unit tests have to be updated so they don't fail.

mikejensen0 commented 2 years ago

I was able to run the tests and all 26 of them passed

What about that big, fat error at the top that completely breaks unit tests?

That is related to #281 and the UserController while this PR was about the AccountController

They change the UserController in the PR therefore, they have to update the unit tests too so they don't fail.

@manfredhod @ltranu20 That is our mistake. I have made a pr for reverting the merge: https://github.com/aau-giraf/web-api/pull/292