mirror of
https://github.com/Kingsrook/qqq.git
synced 2025-07-18 13:10:44 +00:00
Add rollback of transaction in last test
This commit is contained in:
@ -480,6 +480,8 @@ public class RDBMSQueryActionTest extends RDBMSActionTest
|
|||||||
queryInput.setTransaction(transaction);
|
queryInput.setTransaction(transaction);
|
||||||
queryOutput = new QueryAction().execute(queryInput);
|
queryOutput = new QueryAction().execute(queryInput);
|
||||||
Assertions.assertEquals(6, queryOutput.getRecords().size(), "Query with the transaction should see the new row.");
|
Assertions.assertEquals(6, queryOutput.getRecords().size(), "Query with the transaction should see the new row.");
|
||||||
|
|
||||||
|
transaction.rollback();
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
Reference in New Issue
Block a user