Is there a way to rollback transactions?
Is there a way to rollback transactions?
rw152
Posts: 56Questions: 15Answers: 1
I'm unit testing right now and am curious to know if there is a way to manually rollback transactions when using the DT PHP library? I'd rather not make permanent changes to my test DB if that's possible.
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
Hi @rw152 ,
Not within Editor, but probably the best bet is to create an independent DB for testing away from the main DB, which you can just load with a script. That way it'll be to reset between tests.
Cheers,
Colin
Thanks, Colin