File tree Expand file tree Collapse file tree 1 file changed +0
-30
lines changed
Expand file tree Collapse file tree 1 file changed +0
-30
lines changed Original file line number Diff line number Diff line change @@ -34,36 +34,6 @@ public async Task ExecuteCommandAsync_UnknownDB_ReturnsNegativeOne()
3434 Assert . AreEqual ( - 1 , result ) ;
3535 }
3636
37- [ TestMethod ]
38- [ TestCategory ( UNKNOW_DB_TESTS ) ]
39- public void ExecuteTransaction_UnknownDB_ReturnsFalse ( )
40- {
41- var sqlStatements = new List < string >
42- {
43- "DELETE FROM users"
44- } ;
45-
46- var dbContext = new DBContext ( ( DB ) 999 , "some_invalid_connection_string" ) ;
47- var result = dbContext . ExecuteTransaction ( sqlStatements ) ;
48-
49- Assert . IsFalse ( result . Success ) ;
50- }
51-
52- [ TestMethod ]
53- [ TestCategory ( UNKNOW_DB_TESTS ) ]
54- public async Task ExecuteTransactionAsync_UnknownDB_ReturnsFalse ( )
55- {
56- var sqlStatements = new List < string >
57- {
58- "DELETE FROM users"
59- } ;
60-
61- var dbContext = new DBContext ( ( DB ) 999 , "some_invalid_connection_string" ) ;
62- var result = await dbContext . ExecuteTransactionAsync ( sqlStatements ) ;
63-
64- Assert . IsFalse ( result . Success ) ;
65- }
66-
6737 #endregion
6838
6939 }
You can’t perform that action at this time.
0 commit comments