Skip to content

Commit

Permalink
Merge pull request #52 from the-t-in-rtf/GH-49
Browse files Browse the repository at this point in the history
GH-49: Updated to use kettle 2.1.0 (resolves #49).
  • Loading branch information
amb26 authored Feb 12, 2021
2 parents 0d33a5e + bfaa948 commit 1b1cc26
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,14 @@
"cookie-parser": "1.4.5",
"express": "4.17.1",
"express-session": "1.17.1",
"infusion": "3.0.0-dev.20201113T153152Z.32176dcbe.FLUID-6145",
"infusion": "3.0.0-dev.20210120T204128Z.6e4be079f.FLUID-6580",
"serve-index": "1.9.1"
},
"devDependencies": {
"eslint": "7.17.0",
"eslint-config-fluid": "2.0.0",
"fluid-lint-all": "1.0.0",
"kettle": "1.16.0",
"kettle": "2.1.0",
"nyc": "12.0.2",
"node-jqunit": "1.1.8"
}
Expand Down
2 changes: 1 addition & 1 deletion tests/js/lib/request.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ kettle.loadTestingSupport();

fluid.defaults("fluid.test.express.request", {
gradeNames: ["kettle.test.request.httpCookie"],
path: {
url: {
expander: {
funcName: "fluid.stringTemplate",
args: ["%baseUrl%endpoint", { baseUrl: "{testEnvironment}.options.baseUrl", endpoint: "{that}.options.endpoint"}]
Expand Down
2 changes: 1 addition & 1 deletion tests/js/method/method-caseholder.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ fluid.tests.express.method.caseHolder.checkMethodAndCounts = function (body, met

fluid.defaults("fluid.tests.express.method.request", {
gradeNames: ["kettle.test.request.http"],
path: "{testEnvironment}.options.baseUrl",
url: "{testEnvironment}.options.baseUrl",
port: "{testEnvironment}.options.port"
});

Expand Down
4 changes: 2 additions & 2 deletions tests/js/middleware/middleware-caseholder.js
Original file line number Diff line number Diff line change
Expand Up @@ -192,15 +192,15 @@ fluid.defaults("fluid.tests.express.middleware.caseHolder", {
counterRequest: {
type: "kettle.test.request.http",
options: {
path: "{testEnvironment}.options.baseUrl",
url: "{testEnvironment}.options.baseUrl",
port: "{testEnvironment}.options.port",
method: "GET"
}
},
counterSecondRequest: {
type: "kettle.test.request.http",
options: {
path: "{testEnvironment}.options.baseUrl",
url: "{testEnvironment}.options.baseUrl",
port: "{testEnvironment}.options.port",
method: "GET"
}
Expand Down
2 changes: 1 addition & 1 deletion tests/js/querystring/querystring-express-tests.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ fluid.registerNamespace("fluid.tests.express.querystring.withJsonQueryParser.cas

fluid.defaults("fluid.tests.express.querystring.withJsonQueryParser.request", {
gradeNames: ["kettle.test.request.http"],
path: {
url: {
expander: {
funcName: "fluid.stringTemplate",
args: [
Expand Down

0 comments on commit 1b1cc26

Please sign in to comment.