arquillian / arquillian-extension-transaction

9 stars 10 forks source link

Resolves TransactionProviderNotFoundException when no TransactionHandler is found #15

Closed rmpestano closed 7 years ago

rmpestano commented 7 years ago

Short description of what this resolves:

Resolves TransactionProviderNotFoundException for tests which don't have a TransactionProvider

Changes proposed in this pull request:

It changes TransactionProviderProducer to not throw an exception when no TransactionProvider is found here.

It also disables ClientSideTransactionHandler when no TransactionProvider is found here

I tried to use current TransactionHandler to verify if transaction is supported in TransactionProviderProducer here but TransactionHandler is always null when registerTransactionProvider event is fired.

Fixes #14

rmpestano commented 7 years ago

You are welcome!