Closed martinvehmas closed 2 years ago
Membership for a user that does not exist is added and updated. The test pass because we use a InMemoryDatabase that dont check for referential integrity. The tests will not work with SQL Server.
https://github.com/ve-backend-internship-spring2022/EduManagementLab/blob/d8084763f8748cd579a7d431481fda4d9479e004/EduManagementLab.Api.Tests/Controllers/CoursesControllerTests.cs#L282
https://github.com/ve-backend-internship-spring2022/EduManagementLab/blob/d8084763f8748cd579a7d431481fda4d9479e004/EduManagementLab.Api.Tests/Controllers/CoursesControllerTests.cs#L306
Membership for a user that does not exist is added and updated. The test pass because we use a InMemoryDatabase that dont check for referential integrity. The tests will not work with SQL Server.
https://github.com/ve-backend-internship-spring2022/EduManagementLab/blob/d8084763f8748cd579a7d431481fda4d9479e004/EduManagementLab.Api.Tests/Controllers/CoursesControllerTests.cs#L282
https://github.com/ve-backend-internship-spring2022/EduManagementLab/blob/d8084763f8748cd579a7d431481fda4d9479e004/EduManagementLab.Api.Tests/Controllers/CoursesControllerTests.cs#L306