public void InitTests() { // TODO: set the connection string from a setting would be better I think var db = new WebDbDataContext("Data Source=LSO360OPS;Initial Catalog=LsoCoreTest;Persist Security Info=True;User ID=L5development;Password=L5SQLCool"); db.spRestorePickupTableTestState(); _repo = RepositoryFactory.GetNewPickupTimetableRepository(); }
public void InitTests() { // TODO: set the connection string from a setting would be better I think var db = new WebDbDataContext("Data Source=10.0.5.14;Initial Catalog=LsoCoreTest;Persist Security Info=True;User ID=L5development;Password=L5SQLCool"); db.spRestoreWebshipAccountRepositoryTestState(); // the repository used in the majority of tests _repository = new WebShipAccountRepository(); }