What you are missing is the IClassFixture interface for the test class. This will fix the problem…
public class UnitTest1 : IClassFixture<CustomerController>
What you are missing is the IClassFixture interface for the test class. This will fix the problem…
public class UnitTest1 : IClassFixture<CustomerController>