[610] receive method for licence #466
check-pull-request.yml
on: pull_request
Run Pull Request Checks
1m 3s
Annotations
10 errors and 10 warnings
QuestionPageController › should provide the question page on a GET without any session state:
src/server/router.js#L32
AssertError: Plugin licence-receiveMethod already registered
at Object.<anonymous>.internals.Server.register (node_modules/@hapi/hapi/lib/server.js:478:26)
at Object.register (src/server/router.js:32:7)
at Object.<anonymous>.internals.Server.register (node_modules/@hapi/hapi/lib/server.js:494:17)
at createServer (src/server/index.js:51:3)
at Object.<anonymous> (src/server/common/controller/question-page-controller/question-page-controller.test.js:112:14)
|
QuestionPageController › should repopulate the form from state:
src/server/router.js#L32
AssertError: Plugin licence-receiveMethod already registered
at Object.<anonymous>.internals.Server.register (node_modules/@hapi/hapi/lib/server.js:478:26)
at Object.register (src/server/router.js:32:7)
at Object.<anonymous>.internals.Server.register (node_modules/@hapi/hapi/lib/server.js:494:17)
at createServer (src/server/index.js:51:3)
at Object.<anonymous> (src/server/common/controller/question-page-controller/question-page-controller.test.js:112:14)
|
QuestionPageController › Should process the result and provide expected response › should redirect to next page:
src/server/router.js#L32
AssertError: Plugin licence-receiveMethod already registered
at Object.<anonymous>.internals.Server.register (node_modules/@hapi/hapi/lib/server.js:478:26)
at Object.register (src/server/router.js:32:7)
at Object.<anonymous>.internals.Server.register (node_modules/@hapi/hapi/lib/server.js:494:17)
at createServer (src/server/index.js:51:3)
at Object.<anonymous> (src/server/common/controller/question-page-controller/question-page-controller.test.js:112:14)
|
QuestionPageController › Should process the result and provide expected response › should redirect to exit page even if redirect uri is set:
src/server/router.js#L32
AssertError: Plugin licence-receiveMethod already registered
at Object.<anonymous>.internals.Server.register (node_modules/@hapi/hapi/lib/server.js:478:26)
at Object.register (src/server/router.js:32:7)
at Object.<anonymous>.internals.Server.register (node_modules/@hapi/hapi/lib/server.js:494:17)
at createServer (src/server/index.js:51:3)
at Object.<anonymous> (src/server/common/controller/question-page-controller/question-page-controller.test.js:112:14)
|
QuestionPageController › Should process the result and provide expected response › should set the next page to redirect_uri if one exists:
src/server/router.js#L32
AssertError: Plugin licence-receiveMethod already registered
at Object.<anonymous>.internals.Server.register (node_modules/@hapi/hapi/lib/server.js:478:26)
at Object.register (src/server/router.js:32:7)
at Object.<anonymous>.internals.Server.register (node_modules/@hapi/hapi/lib/server.js:494:17)
at createServer (src/server/index.js:51:3)
at Object.<anonymous> (src/server/common/controller/question-page-controller/question-page-controller.test.js:112:14)
|
QuestionPageController › Should process the result and provide expected response › should redirect to whatever the redirect_uri specified:
src/server/router.js#L32
AssertError: Plugin licence-receiveMethod already registered
at Object.<anonymous>.internals.Server.register (node_modules/@hapi/hapi/lib/server.js:478:26)
at Object.register (src/server/router.js:32:7)
at Object.<anonymous>.internals.Server.register (node_modules/@hapi/hapi/lib/server.js:494:17)
at createServer (src/server/index.js:51:3)
at Object.<anonymous> (src/server/common/controller/question-page-controller/question-page-controller.test.js:112:14)
|
QuestionPageController › Should process the result and provide expected response › when the answer is invalid › should display an error to the user if answer is invalid:
src/server/router.js#L32
AssertError: Plugin licence-receiveMethod already registered
at Object.<anonymous>.internals.Server.register (node_modules/@hapi/hapi/lib/server.js:478:26)
at Object.register (src/server/router.js:32:7)
at Object.<anonymous>.internals.Server.register (node_modules/@hapi/hapi/lib/server.js:494:17)
at createServer (src/server/index.js:51:3)
at Object.<anonymous> (src/server/common/controller/question-page-controller/question-page-controller.test.js:112:14)
|
QuestionPageController › Should process the result and provide expected response › when the answer is invalid › should clear the session state *for this question only* if the user encounters an error:
src/server/router.js#L32
AssertError: Plugin licence-receiveMethod already registered
at Object.<anonymous>.internals.Server.register (node_modules/@hapi/hapi/lib/server.js:478:26)
at Object.register (src/server/router.js:32:7)
at Object.<anonymous>.internals.Server.register (node_modules/@hapi/hapi/lib/server.js:494:17)
at createServer (src/server/index.js:51:3)
at Object.<anonymous> (src/server/common/controller/question-page-controller/question-page-controller.test.js:112:14)
|
QuestionPageController › Should process the result and provide expected response › when the answer is invalid › Should display an error and set next page appropriately:
src/server/router.js#L32
AssertError: Plugin licence-receiveMethod already registered
at Object.<anonymous>.internals.Server.register (node_modules/@hapi/hapi/lib/server.js:478:26)
at Object.register (src/server/router.js:32:7)
at Object.<anonymous>.internals.Server.register (node_modules/@hapi/hapi/lib/server.js:494:17)
at createServer (src/server/index.js:51:3)
at Object.<anonymous> (src/server/common/controller/question-page-controller/question-page-controller.test.js:112:14)
|
QuestionPageController › next page tests › should return the TestExitPage:
src/server/router.js#L32
AssertError: Plugin licence-receiveMethod already registered
at Object.<anonymous>.internals.Server.register (node_modules/@hapi/hapi/lib/server.js:478:26)
at Object.register (src/server/router.js:32:7)
at Object.<anonymous>.internals.Server.register (node_modules/@hapi/hapi/lib/server.js:494:17)
at createServer (src/server/index.js:51:3)
at Object.<anonymous> (src/server/common/controller/question-page-controller/question-page-controller.test.js:112:14)
|
Run Pull Request Checks:
src/server/common/model/answer/answer-model.js#L28
JSDoc @returns declaration present but return expression not available in function
|
Run Pull Request Checks:
src/server/common/model/answer/answer-model.js#L39
JSDoc @returns declaration present but return expression not available in function
|
Run Pull Request Checks:
src/server/common/model/answer/answer-model.js#L48
JSDoc @returns declaration present but return expression not available in function
|
Run Pull Request Checks:
src/server/common/model/answer/answer-model.js#L66
JSDoc @returns declaration present but return expression not available in function
|
Run Pull Request Checks:
src/server/common/model/answer/answer-model.js#L71
JSDoc @returns declaration present but return expression not available in function
|
|
Run Pull Request Checks:
src/server/common/model/page/page-model.js#L42
Should be no multiple asterisks on end lines
|
Run Pull Request Checks:
src/server/common/model/page/page-model.js#L48
JSDoc @returns declaration present but return expression not available in function
|
Run Pull Request Checks:
src/server/common/model/page/question-page-model.js#L31
JSDoc @returns declaration present but return expression not available in function
|
Run Pull Request Checks:
src/server/common/model/section/origin/origin.test.js#L7
Tag @type must have a type
|