Skip to content

Node.js based forum software built for the modern web

test: fix test

Barış Soner Uşaklıc8a5e24aeeca
diff --git a/test/template-helpers.js b/test/template-helpers.js
index 3e22398ee3..00ae777f82 100644
--- a/test/template-helpers.js
+++ b/test/template-helpers.js
@@ -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();
});