Skip to content

Commit

Permalink
update legacyreport.test.js
Browse files Browse the repository at this point in the history
  • Loading branch information
dcmcand committed Mar 24, 2021
1 parent 3e98748 commit 2664ef0
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/services/legacyreport.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -115,10 +115,7 @@ describe('reconcile legacy reports', () => {
});
it('tests the reconciliation process', async () => {
await reconcileLegacyReports();
const ret = await ActivityReport.findOne({ where: { id: mockReport2.id } });
const retFull = await ActivityReport.findAll();
/* eslint-disable-next-line no-console */
console.log(retFull);
const ret = await ActivityReport.findOne({ where: { legacyId: report2.legacyId } });
expect(ret.userId).toBe(user2.id);
expect(ret.approvingManagerId).toBe(manager.id);
const collaborators = await ActivityReportCollaborator.findAll({
Expand Down

0 comments on commit 2664ef0

Please sign in to comment.