Skip to content

Commit

Permalink
chore(test): avoid clearing the db tables to retain seeded data
Browse files Browse the repository at this point in the history
  • Loading branch information
devdbrandy committed Mar 9, 2019
1 parent 97ec56a commit d14e68a
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions test/integrations/routes/users.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,6 @@ describe('API endpoint: /api/users', () => {
beforeEach(() => {
// reset the dummy user data
dummyUser = { ...DUMMY_USER };
// clear database table
Bluebird.all([
models.User.destroy({ truncate: true }),
]);
});

describe('Registration endpoint', () => {
Expand Down

0 comments on commit d14e68a

Please sign in to comment.