Adds auth hook to all relevant services, plus more thought-out hooks + tests to services:
credentials (cobuy additional hooks)
notifications
orderIntents
orderPlans
orders
resourceTypes
priceSpecs
None of the tests yet simulate an authorised client connecting to the server and calling services - i haven't yet got a test client + server combo communicating properly. so at the moment any tests which need params which include { provider: 'rest' } won't run unless the all: authenticate('jwt') is turned off first.
Adds auth hook to all relevant services, plus more thought-out hooks + tests to services:
None of the tests yet simulate an authorised client connecting to the server and calling services - i haven't yet got a test client + server combo communicating properly. so at the moment any tests which need params which include
{ provider: 'rest' }
won't run unless theall: authenticate('jwt')
is turned off first.closes #460