Skip to content

Commit 3efb6f6

Browse files
committed
fix tests
1 parent 863ae6d commit 3efb6f6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/cubejs-server-core/test/unit/OptsHandler.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1140,7 +1140,7 @@ describe('OptsHandler class', () => {
11401140
const permissions = await gateway.contextToApiScopesFn();
11411141
expect(permissions).toBeDefined();
11421142
expect(Array.isArray(permissions)).toBeTruthy();
1143-
expect(permissions).toEqual(['graphql', 'meta', 'data']);
1143+
expect(permissions).toEqual(['graphql', 'meta', 'data', 'sql']);
11441144
});
11451145

11461146
test('must set env api scopes if fn not specified', async () => {

0 commit comments

Comments
 (0)