Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
195 changes: 89 additions & 106 deletions Control/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Control/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"protobuf/"
],
"dependencies": {
"@aliceo2/web-ui": "2.9.0",
"@aliceo2/web-ui": "2.10.0",
"@grpc/grpc-js": "1.14.0",
"@grpc/proto-loader": "0.8.0",
"kafkajs": "2.2.4"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ describe(`'API - GET - /configurations/restrictions' test suite`, () => {
.get('/')
.expect(403, {
error: '403 - Json Web Token Error',
message: 'You must provide a JWT token'
message: 'Invalid token: jwt must be provided'
});
});

Expand All @@ -48,7 +48,7 @@ describe(`'API - GET - /configurations/restrictions' test suite`, () => {
.get('/?token=invalid-token')
.expect(403, {
error: '403 - Json Web Token Error',
message: 'Invalid JWT token provided'
message: 'Invalid token: jwt malformed'
});
});

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ describe(`'API - GET - /configurations/:key(*)' test suite`, () => {
.get('/key1')
.expect(403, {
error: '403 - Json Web Token Error',
message: 'You must provide a JWT token'
message: 'Invalid token: jwt must be provided'
});
});

Expand All @@ -71,7 +71,7 @@ describe(`'API - GET - /configurations/:key(*)' test suite`, () => {
.get('/key1?token=invalid-token')
.expect(403, {
error: '403 - Json Web Token Error',
message: 'Invalid JWT token provided'
message: 'Invalid token: jwt malformed'
});
});
});
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ describe(`'API - GET - /configurations' test suite`, () => {
.get('/configurations')
.expect(403, {
error: '403 - Json Web Token Error',
message: 'You must provide a JWT token'
message: 'Invalid token: jwt must be provided'
});
});

Expand All @@ -74,7 +74,7 @@ describe(`'API - GET - /configurations' test suite`, () => {
.get('/configurations?token=invalid-token')
.expect(403, {
error: '403 - Json Web Token Error',
message: 'Invalid JWT token provided'
message: 'Invalid token: jwt malformed'
});
});
});
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ describe(`'API - PUT - /configurations/:key(*)' test suite`, () => {
.send(validPayload)
.expect(403, {
error: '403 - Json Web Token Error',
message: 'You must provide a JWT token'
message: 'Invalid token: jwt must be provided'
});
});

Expand All @@ -64,7 +64,7 @@ describe(`'API - PUT - /configurations/:key(*)' test suite`, () => {
.send(validPayload)
.expect(403, {
error: '403 - Json Web Token Error',
message: 'Invalid JWT token provided'
message: 'Invalid token: jwt malformed'
});
});
});
2 changes: 1 addition & 1 deletion Control/test/api/deployment/api-post-deployment.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ describe('POST /deploy', function () {
userVars: { foo: 'bar' }
})
.expect(403, {
message: 'You must provide a JWT token',
message: 'Invalid token: jwt must be provided',
error: '403 - Json Web Token Error'
});
});
Expand Down
Loading
Loading