Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Bernardo Vieira committed Mar 29, 2022
1 parent 5dde534 commit f0b1d8a
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions packages/core/tests/integration/community.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1611,7 +1611,8 @@ describe('community service', () => {
currency: communities[0].currency,
description: communityNewDescription,
name: communities[0].name,
coverMediaPath: "cover/image.jpg",
coverMediaId: 1,
coverMediaPath: 'cover/image.jpg',
}
);

Expand Down Expand Up @@ -1651,7 +1652,8 @@ describe('community service', () => {
currency: communities[0].currency,
description: communityNewDescription,
name: communities[0].name,
coverMediaPath: "cover/image2.jpg",
coverMediaId: 1,
coverMediaPath: 'cover/image2.jpg',
}
);

Expand Down Expand Up @@ -1694,7 +1696,8 @@ describe('community service', () => {
currency: communities[0].currency,
description: communityNewDescription,
name: communities[0].name,
coverMediaPath: "cover/image.jpg",
coverMediaId: 1,
coverMediaPath: 'cover/image.jpg',
email: 'test@gmail.com',
},
manager[0].address
Expand All @@ -1703,7 +1706,9 @@ describe('community service', () => {
expect(updatedCommunity.description).to.be.equal(
communityNewDescription
);
expect(updatedCommunity.coverMediaPath).to.be.equal('cover/image.jpg');
expect(updatedCommunity.coverMediaPath).to.be.equal(
'cover/image.jpg'
);
expect(updatedCommunity.email).to.be.equal('test@gmail.com');
});
});
Expand Down

0 comments on commit f0b1d8a

Please sign in to comment.