1
Vote

Effort Test fails if we add modelBuilder configuration

description

I see the tests that had been passing started to fail when I added a fluentApi configuration to process string as varchar instead of treating them as NVARCHAR.

configuration added :
modelBuilder.Properties<string>().Configure(c => c.HasColumnType("VARCHAR"));

Error: (See attached code)
Unable to create instance of class EffortTest.CatTests. Error: System.InvalidOperationException: Sequence contains no matching element.

file attachments

comments