Skip to content

Transaction - Add test on Transaction #16

@stombre

Description

@stombre

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions