I have another question, i get the same error as before when triying to pass an entier ZdravnikViewModel to my test method, could it be related to the same problem as before?
no i am not, so if i just build a new ApplicationDbContext as before and pass the options, it doesnt automatically recognise the already created database?
what do you mean exactly by exist in the physical database ? my database exist for sure because i can see it in DbBrowser, but context.Database isnt only used when creating a InMemo database?