Skip to content

Commit

Permalink
fix(test): fixed post-test deleting
Browse files Browse the repository at this point in the history
  • Loading branch information
serge1peshcoff committed Feb 4, 2020
1 parent 17edfc4 commit fd254b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/scripts/generator.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,6 @@ exports.createCampaign = (options = {}) => {
};

exports.clearAll = async () => {
await Campaign.destroy({ where: {}, truncate: { cascade: true } });
await User.destroy({ where: {}, truncate: { cascade: true } });
await Campaign.destroy({ where: {}, truncate: { cascade: true } });
};

0 comments on commit fd254b1

Please sign in to comment.