We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 58f793b commit c54439eCopy full SHA for c54439e
test/v1/tck/steps/authsteps.js
@@ -56,8 +56,8 @@ module.exports = function () {
56
this.Then(/^a `Protocol Error` is raised$/, function () {
57
var message = this.err.fields[0].message
58
var code = this.err.fields[0].code
59
- var expectedStartOfMessage = 'The client is unauthorized due to authentication failure.'
60
- var expectedCode = 'Neo.ClientError.Security.Unauthorized'
+ var expectedStartOfMessage = 'No operations allowed until you send an INIT message successfully.'
+ var expectedCode = 'Neo.ClientError.Request.Invalid'
61
62
if (message.indexOf(expectedStartOfMessage) != 0) {
63
throw new Error("Wrong error messsage. Expected: '" + expectedStartOfMessage + "'. Got: '" + message + "'");
0 commit comments