mirror of
https://github.com/getAlby/lndhub.go.git
synced 2025-12-24 08:05:02 +01:00
use the right struct to create user
This commit is contained in:
@@ -66,7 +66,7 @@ func (suite *CreateUserTestSuite) TestCreateWithProvidedLoginAndPassword() {
|
||||
var buf bytes.Buffer
|
||||
const testLogin = "test login"
|
||||
const testPassword = "test password"
|
||||
json.NewEncoder(&buf).Encode(&controllers.AuthRequestBody{
|
||||
json.NewEncoder(&buf).Encode(&controllers.CreateUserRequestBody{
|
||||
Login: testLogin,
|
||||
Password: testPassword,
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user