1

Closed

Incorrect unit test

description

TestDualWieldDalsInTransactionScope()

ICoconutDal doubleDal = new SqlServerCoconutDal(_sqlCompactConnectionString, SqlVariant.SqlServerCompact);
doubleDal.IsTextQuery = true;
dal.ExecuteNonQuery("DELETE FROM Person WHERE id = 4");

Last line should be doubleDal.ExecuteNonQuery, to prove that both Dals are covered by same transaction scope.
Closed May 29, 2012 at 5:25 AM by mafue
Unit test updated and still passes.

comments