Skip to content

Commit

Permalink
feat(getRoles): TheWall proxies accessList
Browse files Browse the repository at this point in the history
  • Loading branch information
afontainec committed May 6, 2021
1 parent 4019da6 commit 117ec06
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/index/get-roles.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@ let databaseManager;

describe('getRoles', () => { // eslint-disable-line max-lines-per-function

before(async () => { // eslint-disable-line
before(async () => {
databaseManager = await new DatabaseManager(config);
await databaseManager.flushAccess();
});

it('happy path', async () => { // eslint-disable-line
it('happy path', async () => {
const roles = TheWall.getRoles();
const expected = ['admin', 'venue', 'sponsorSubAdmin', 'advertiser'];
assert.deepEqual(roles, expected);
Expand Down

0 comments on commit 117ec06

Please sign in to comment.