diff --git a/sasjs-tests/package.json b/sasjs-tests/package.json index 93a6775..ab400ec 100644 --- a/sasjs-tests/package.json +++ b/sasjs-tests/package.json @@ -4,7 +4,7 @@ "homepage": ".", "private": true, "dependencies": { - "@sasjs/adapter": "file:../build/sasjs-adapter-5.0.0.tgz", + "@sasjs/adapter": "^2.2.4", "@sasjs/test-framework": "^1.4.0", "@types/jest": "^26.0.20", "@types/node": "^14.14.25", diff --git a/sasjs-tests/public/config.json b/sasjs-tests/public/config.json index ce7b8d4..334150a 100644 --- a/sasjs-tests/public/config.json +++ b/sasjs-tests/public/config.json @@ -6,7 +6,7 @@ "appLoc": "/Public/app", "serverType": "SASVIYA", "debug": false, - "contextName": "SAS Job Execution compute context", + "contextName": "sasjs adapter compute context", "useComputeApi": true } } diff --git a/sasjs-tests/src/testSuites/Basic.ts b/sasjs-tests/src/testSuites/Basic.ts index b2bc752..f7faf73 100644 --- a/sasjs-tests/src/testSuites/Basic.ts +++ b/sasjs-tests/src/testSuites/Basic.ts @@ -60,7 +60,7 @@ export const basicTests = ( test: async () => { await adapter.logOut(); - return await adapter.request("/Public/app/common/sendArr", stringData, null, () => { + return await adapter.request("common/sendArr", stringData, null, () => { adapter.logIn(userName, password); }); }, @@ -77,7 +77,7 @@ export const basicTests = ( debug: true } - return await adapter.request("/Public/app/common/sendArr", stringData, config) + return await adapter.request("common/sendArr", stringData, config) }, assertion: (response: any) => { return response.table1[0][0] === stringData.table1[0].col1;