This commit is contained in:
grzegorz.russek
2013-06-06 08:03:45 +00:00
parent 69f94ae5b0
commit b12a838a4f
6 changed files with 18 additions and 18 deletions

View File

@@ -26,7 +26,6 @@
* THE POSSIBILITY OF SUCH DAMAGE.
*/
using System;
using NUnit.Framework;
namespace DynamORM.Tests.Helpers
@@ -63,7 +62,7 @@ namespace DynamORM.Tests.Helpers
Database.Dispose();
Database = null;
Assert.Throws<ObjectDisposedException>(() => cmd.ExecuteScalar());
Assert.Throws<DynamicQueryException>(() => cmd.ExecuteScalar());
}
/// <summary>Test single mode transaction disposing.</summary>