test: fix test

This commit is contained in:
Barış Soner Uşaklı
2024-02-29 10:39:02 -05:00
parent 5556c1d549
commit c8a5e24aee

View File

@@ -132,7 +132,7 @@ describe('helpers', () => {
it('should show join button if join requests are not disabled and group is not administrators', (done) => {
const btn = helpers.membershipBtn({ displayName: 'some group', name: 'some group', disableJoinRequests: false });
assert.equal(btn, '<button class="btn btn-success" data-action="join" data-group="some group"><i class="fa fa-plus"></i> [[groups:membership.join-group]]</button>');
assert.equal(btn, '<button class="btn btn-success " data-action="join" data-group="some group"><i class="fa fa-plus"></i> [[groups:membership.join-group]]</button>');
done();
});