Scopey

I probably should've looked at the test results first - that doesn't appear to be the case here

Scopey

The reason being is that all tests are run in transactions with SapphireTest (for speed). You can disable this functionality for a whole test file by putting protected $usesTransactions = false at the top of your test file.

Scopey

Like, if you test that a failure rolls back properly (and maybe assert that something is logged) - but then you try to commit another transaction in the same test - you'll get an error

Scopey

Are you testing functionality of rollbacks?

Mo

I am using 2-dev branch of the Postgres module (which should fix this issue) 😕