Skip to content

Commit f3af145

Browse files
committed
feat: user authorization check in tymly.startExecution
affects: tymly-test-helpers, tymly, tymly-diaries-plugin, addressbase-plus-blueprint, addressbase-premium-blueprint, building-blueprint, care-quality-commission-blueprint, demo-blueprint, food-hygiene-blueprint, heritage-blueprint, indices-multi-deprivation-blueprint, ofsted-blueprint Fixing tests so they don't fail for lack of authorization
1 parent 5ca2e1c commit f3af145

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@
88
"tymly-pg-plugin": "^0.0.8",
99
"mocha": "5.2.0",
1010
"standard": "11.0.1",
11-
"rimraf": "2.6.2"
11+
"rimraf": "2.6.2",
12+
"tymly-test-helpers": "0.0.1"
1213
},
1314
"scripts": {
1415
"lint": "standard",

test/tests.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,8 @@ describe('Blueprint Tests', function () {
4545
{
4646
pluginPaths: [
4747
path.resolve(__dirname, './../../../plugins/tymly-etl-plugin'),
48-
path.resolve(__dirname, './../../../plugins/tymly-pg-plugin')
48+
path.resolve(__dirname, './../../../plugins/tymly-pg-plugin'),
49+
path.resolve(__dirname, '../node_modules/tymly-test-helpers/plugins/allow-everything-rbac-plugin')
4950
],
5051

5152
blueprintPaths: [

0 commit comments

Comments
 (0)