Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
luisbritos committed Apr 20, 2020
1 parent cd9ec51 commit fe09ef3
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions tests/routes/dashboardAdmins.js
Original file line number Diff line number Diff line change
Expand Up @@ -397,7 +397,8 @@ tape('dashboardAdmins should return 200 if everything is ok', function(t) {
azp: 'https://test.auth0.com/api/v2/',
name: 'John Doe',
admin: true,
nonce: 'nonce'
nonce: 'nonce',
exp: new Date().getTime()
});

const req = {
Expand Down Expand Up @@ -455,7 +456,8 @@ tape('dashboardAdmins should return 200 with legacy nonce and state', function(t
azp: 'https://test.auth0.com/api/v2/',
name: 'John Doe',
admin: true,
nonce: 'nonce'
nonce: 'nonce',
exp: new Date().getTime()
});

const req = {
Expand Down Expand Up @@ -514,7 +516,8 @@ tape('dashboardAdmins should work with localStorage', function(t) {
azp: 'https://test.auth0.com/api/v2/',
name: 'John Doe',
admin: true,
nonce: 'nonce'
nonce: 'nonce',
exp: new Date().getTime()
});

const req = {
Expand Down

0 comments on commit fe09ef3

Please sign in to comment.