Skip to content

Commit c54439e

Browse files
author
Zhen
committed
Fix red build
1 parent 58f793b commit c54439e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/v1/tck/steps/authsteps.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,8 @@ module.exports = function () {
5656
this.Then(/^a `Protocol Error` is raised$/, function () {
5757
var message = this.err.fields[0].message
5858
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'
59+
var expectedStartOfMessage = 'No operations allowed until you send an INIT message successfully.'
60+
var expectedCode = 'Neo.ClientError.Request.Invalid'
6161

6262
if (message.indexOf(expectedStartOfMessage) != 0) {
6363
throw new Error("Wrong error messsage. Expected: '" + expectedStartOfMessage + "'. Got: '" + message + "'");

0 commit comments

Comments
 (0)