Registering IDbCommand and autowiring and testing
i've registered the following
i now want to change that in my CustomWebApplicationFactory like..
but doing this the 'regions' table cannot be found, i'd presume it's not registering it correctly.
When not swapping the implementation, it finds my local db with my local appsettings connection string
the table does exist because i'm also registering AppDbContext with entity framework(and those tests are passing, i'm currently converting everything to repositories)
1 Reply
Foolishly didnt grt useLowerCaseColumnNames in my test startup
So when using raw sql it was incorrect