Skip to content

Commit cfb6754

Browse files
committed
chore: pass authorization as a function
1 parent 235050b commit cfb6754

File tree

15 files changed

+17
-17
lines changed

15 files changed

+17
-17
lines changed

dbquery/pagination/tests/Test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,5 +77,5 @@ describe(testDescription, function () {
7777
},
7878
},
7979
];
80-
return deployAndRun(__dirname, tests, stepzen.admin());
80+
return deployAndRun(__dirname, tests, stepzen.admin);
8181
});

executable/persisted/tests/Test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,5 +64,5 @@ describe(testDescription, function () {
6464
},
6565
},
6666
];
67-
return deployAndRun(__dirname, tests,stepzen.admin());
67+
return deployAndRun(__dirname, tests,stepzen.admin);
6868
});

materializer/nestedfieldselection/tests/Test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,5 +26,5 @@ describe(testDescription, function () {
2626
},
2727
},
2828
]
29-
return deployAndRun(__dirname, tests, stepzen.admin());
29+
return deployAndRun(__dirname, tests, stepzen.admin);
3030
});

protection/makeSomePublic/tests/Test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,5 +33,5 @@ describe(testDescription, function () {
3333
},
3434
},
3535
];
36-
return deployAndRun(__dirname, tests, stepzen.admin());
36+
return deployAndRun(__dirname, tests, stepzen.admin);
3737
});

reshape/fields/tests/Test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,5 +115,5 @@ describe(testDescription, function () {
115115
},
116116
},
117117
];
118-
return deployAndRun(__dirname, tests, stepzen.admin());
118+
return deployAndRun(__dirname, tests, stepzen.admin);
119119
});

reshape/subset/tests/Test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,5 +30,5 @@ describe(testDescription, function () {
3030
expected: { version: { __typename: "Version" } },
3131
},
3232
];
33-
return deployAndRun(__dirname, tests, stepzen.admin());
33+
return deployAndRun(__dirname, tests, stepzen.admin);
3434
});

rest/pagination/tests/Test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,5 +101,5 @@ describe(testDescription, function () {
101101
},
102102
},
103103
];
104-
return deployAndRun(__dirname, tests, stepzen.admin());
104+
return deployAndRun(__dirname, tests, stepzen.admin);
105105
});

rest/restWithConfigYaml/tests/Test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,5 @@ describe(testDescription, function () {
1414
expected: {rest: {args: {q: ["Joe Smith", "Jane Smith"],},url: "https://httpbingo.org/get?apikey=56hdlks45reghunq&q=Joe+Smith&q=Jane+Smith",},},
1515
},
1616
]
17-
return deployAndRun(__dirname, tests, stepzen.admin());
17+
return deployAndRun(__dirname, tests, stepzen.admin);
1818
});

rest/restWithParameters/tests/Test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,5 +21,5 @@ describe(testDescription, function () {
2121
expected: {restquery: {args: {q: ["Mike Jones", "Sally Jones"],v: null,}, url: "https://httpbingo.org/get?q=Mike+Jones&q=Sally+Jones",},},
2222
},
2323
]
24-
return deployAndRun(__dirname, tests, stepzen.admin());
24+
return deployAndRun(__dirname, tests, stepzen.admin);
2525
});

routing/rerank/tests/Test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,5 +171,5 @@ describe(testDescription, function () {
171171
},
172172
},
173173
];
174-
return deployAndRun(__dirname, tests, stepzen.admin());
174+
return deployAndRun(__dirname, tests, stepzen.admin);
175175
});

0 commit comments

Comments
 (0)