Skip to content

Commit

Permalink
fixed cooperation tests
Browse files Browse the repository at this point in the history
  • Loading branch information
PavloDolia committed Nov 9, 2024
1 parent 5d88bec commit 8d001c3
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/test/integration/controllers/cooperation.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -243,9 +243,7 @@ describe('Cooperation controller', () => {
expect(Array.isArray(response.body.items)).toBe(true)
expect(response.body.items[0]).toMatchObject({
_id: testCooperation._body._id,
offer: {
_id: testOffer._id
},
offer: testOffer._id,
initiator: testStudentUser.id,
receiver: testTutorUser._id,
proficiencyLevel: testCooperationData.proficiencyLevel,
Expand Down

0 comments on commit 8d001c3

Please sign in to comment.