hapi-authorization
hapi-authorization copied to clipboard
Fix bonded config
Removing the arrow function definition, the bonded config can be easily accessed as before (this.config
).
Close #26
Coverage remained the same at 100.0% when pulling a1dd791a1fe5eca5180fdc54d5f855b92fbdf6d3 on g-div:fix-settings into 8dac9750970f904b3d594857a6c1afc0bfb3c9f0 on toymachiner62:master.
Coverage remained the same at 100.0% when pulling a1dd791a1fe5eca5180fdc54d5f855b92fbdf6d3 on g-div:fix-settings into 8dac9750970f904b3d594857a6c1afc0bfb3c9f0 on toymachiner62:master.
The build failed with this change. You'll need to also fix the unit tests.
I know, I've tried but I didn't understand a couple of things:
-
The test is failing because the user role isn't defined in the role hierarchy and this seems to be an expected behaviour. So it seems to me that the test was expecting something which should not be allowed by the plugin.
Should I just delete both tests ?