@@ -110,39 +110,79 @@ if (current.dialect.supports.transactions) {
...
@@ -110,39 +110,79 @@ if (current.dialect.supports.transactions) {
expect(hook).to.not.have.been.called;
expect(hook).to.not.have.been.called;
});
});
//Promise rejection test is specific to postgres
if(dialect==='postgres'){
if(dialect==='postgres'){
it('do not rollback if already committed',asyncfunction(){
// See #3689, #3726 and #6972 (https://github.com/sequelize/sequelize/pull/6972/files#diff-533eac602d424db379c3d72af5089e9345fd9d3bbe0a26344503c22a0a5764f7L75)