fix one char to make sure coveralls runs again

This commit is contained in:
Nik Graf 2017-09-12 23:21:35 +02:00
parent 069fcdee6c
commit ef6f4fcd7f
No known key found for this signature in database
GPG Key ID: 7A97512F916175F1

View File

@ -20,12 +20,12 @@ describe.only('#getCliLoginById()', () => {
}
}
`,
variables: { id: 'abc' },
variables: { id: 'abcd' },
};
const query = sinon.stub().resolves({ data: { cliLoginId: 'abc' } });
return getCliLoginById('abc', query).then(data => {
expect(data).to.deep.equal({ cliLoginId: 'abc' });
const query = sinon.stub().resolves({ data: { cliLoginId: 'abcd' } });
return getCliLoginById('abcd', query).then(data => {
expect(data).to.deep.equal({ cliLoginId: 'abcd' });
expect(query.getCall(0).args[0]).to.deep.equal(expectedParams);
});
});