I was wondering if anyone could tell me why my unit tests are not passing after installing the 3.6.1 test and framework. I keep getting this kind of error. I did not modify anything in the framework, nor the connection strings (simply compiled). Thanks!
Csla.Test.Data.ContextTests.ConnectionSetting_with_Invalid_DB_Throws_ConfigurationErrorsException_for_EntitiesContextDataContext:
An unexpected exception type was thrown
Expected: System.Data.EntityException
but was: System.Configuration.ConfigurationErrorsException : Database name not found in config file (DataPortalTestDatabaseEntities_with_invalid_DB_value)
Turns out I had forgotten to set a setting in the NUnit project =)
Under project -> edit -> general.
Just in case someone else has the same problem in the future.
Copyright (c) Marimer LLC