Skip to content

Commit

Permalink
[BUG] Corrige un test instable sur le modèle SharedProfileForCampaign.
Browse files Browse the repository at this point in the history
  • Loading branch information
pix-service-auto-merge committed Mar 29, 2022
2 parents 4cba323 + 2461252 commit 4b40d6c
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,10 @@ describe('Unit | Domain | Models | SharedProfileForCampaign', function () {
},
});

expect(sharedProfileForCampaign.scorecards).to.deep.equal([expectedScorecard]);
expect(sharedProfileForCampaign.scorecards[0]).to.deep.include({
id: expectedScorecard.id,
name: expectedScorecard.name,
});
});
});

Expand Down

0 comments on commit 4b40d6c

Please sign in to comment.