core icon indicating copy to clipboard operation
core copied to clipboard

Transaction - Add test on Transaction

Open stombre opened this issue 5 years ago • 0 comments

Currently, the test scenario on Transaction include the three ways to do transaction with ilorm with findOne and save operation.

Some scenarios cases for Transaction are missing, this issue could eventually be done by different PR and different test;

  • [ ] Test instance.remove operator on transaction
  • [ ] Test throw an error in a Transaction.run (to trigger rollback).
  • [ ] Test rollback by calling the transaction.rollback operator

Any other cases that seems missing could be added.

stombre avatar Sep 15 '20 19:09 stombre