chore: modify the error message when registering a Host user (#1804)

* Modify the error message

* modify the error message
This commit is contained in:
zhangpeng
2023-06-07 12:12:23 +08:00
committed by GitHub
parent 77e8e9ebbd
commit ac5d8b47ca
2 changed files with 3 additions and 3 deletions

View File

@@ -101,7 +101,7 @@ func TestSetupServiceCreateUser(t *testing.T) {
},
`username != "", password == ""`: {
hostUsername: expectedCreated.Username,
expectedErr: "validate: password is too short, minimum length is 6",
expectedErr: "validate: password is too short, minimum length is 3",
},
"failed to create": {
setupStore: func(m *storeMock) {