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()
34
34
Assert . AreEqual ( - 1 , result ) ;
35
35
}
36
36
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
-
67
37
#endregion
68
38
69
39
}
You can’t perform that action at this time.
0 commit comments