Skip to content

Commit 716b52e

Browse files
forgot a single scope
1 parent 2221751 commit 716b52e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/integration/grant-types/abstract-grant-type_test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ describe('AbstractGrantType integration', function() {
195195
});
196196

197197
it('throws if the model rejects the scope', async function () {
198-
const scope = 'some,scope,this,that';
198+
const scope = ['some,scope,this,that'];
199199
const user = { id: 123 };
200200
const client = { id: 456 };
201201
const returnTypes = [undefined, null, false, 0, ''];
@@ -206,7 +206,7 @@ describe('AbstractGrantType integration', function() {
206206
// make sure the model received the correct args
207207
_user.should.deep.equal(user);
208208
_client.should.deep.equal(_client);
209-
_scope.should.equal(scope);
209+
_scope.should.eql(scope);
210210

211211
return type;
212212
}

0 commit comments

Comments
 (0)