Skip to content

Commit

Permalink
fix: remove Customer.get check from access/authorize test
Browse files Browse the repository at this point in the history
I don't think a `Customer.get` should return a customer if we haven't provisioned anything for them, so remove that check from this test
  • Loading branch information
travis committed Jun 1, 2023
1 parent dce8293 commit 35cff74
Showing 1 changed file with 0 additions and 17 deletions.
17 changes: 0 additions & 17 deletions packages/upload-api/test/access-authorize.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,23 +53,6 @@ export const test = {
},
},
])

const customer = await Customer.get
.invoke({
issuer: service,
audience: service,
with: service.did(),
nb: {
customer: account.did(),
},
})
.execute(connection)

assert.deepEqual(
customer.out.ok?.customer?.did,
account.did(),
'account is a customer'
)
},

'should validate have delegation in the email url': async (
Expand Down

0 comments on commit 35cff74

Please sign in to comment.