You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm implementing a repository.When I try to test it unitary, I receive the next error.
System.NotImplementedException: 'The member 'IEnumerable.GetEnumerator' has not been implemented on type 'FakeSet1' which inherits from 'DbSet1'. Test doubles for 'DbSet`1' must provide implementations of methods and properties that are used.'
Did you ever have this type of error, when you try to get the entities?
I've using several classes from the base test and double test.
Hi
I'm implementing a repository.When I try to test it unitary, I receive the next error.
System.NotImplementedException: 'The member 'IEnumerable.GetEnumerator' has not been implemented on type 'FakeSet
1' which inherits from 'DbSet
1'. Test doubles for 'DbSet`1' must provide implementations of methods and properties that are used.'Did you ever have this type of error, when you try to get the entities?
I've using several classes from the base test and double test.
My code is:
[TestMethod]
public void GetAllCompetitions_Test()
{
IInterceptorsResolver resolver = GetEmptyInterceptors();
IDbContextFactory factory = GetFactory();
The text was updated successfully, but these errors were encountered: