Skip to content

Commit

Permalink
fix test error message to use variable in locales string
Browse files Browse the repository at this point in the history
  • Loading branch information
Alys authored and SabreCat committed Apr 12, 2017
1 parent fbda3a8 commit 2f010e4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/api/v3/integration/groups/POST-groups_invite.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import {
translate as t,
} from '../../../../helpers/api-v3-integration.helper';
import { v4 as generateUUID } from 'uuid';
import nconf from 'nconf';

const INVITES_LIMIT = 100;
const PARTY_LIMIT_MEMBERS = 30;
Expand Down Expand Up @@ -223,7 +224,7 @@ describe('Post /groups/:groupId/invite', () => {
.to.eventually.be.rejected.and.eql({
code: 401,
error: 'NotAuthorized',
message: t('inviteLimitReached'),
message: t('inviteLimitReached', {techAssistanceEmail: nconf.get('EMAILS:TECH_ASSISTANCE_EMAIL')}),
});
});

Expand Down

0 comments on commit 2f010e4

Please sign in to comment.