internal/servers/controller/handlers/accounts: fix dropped test errors (#733)
This commit is contained in:
1 parent
bf09616ad1
commit
0c959cbb71
1 file changed
+2
@@ -833,6 +833,7 @@ func TestSetPassword(t *testing.T) {
|
||||
pwAttrs.Password = wrapperspb.String(pw)
|
||||
}
|
||||
attrs, err := handlers.ProtoToStruct(pwAttrs)
|
||||
require.NoError(t, err)
|
||||
createResp, err := tested.CreateAccount(auth.DisabledAuthTestContext(auth.WithScopeId(o.GetPublicId())), &pbs.CreateAccountRequest{
|
||||
Item: &pb.Account{
|
||||
AuthMethodId: am.GetPublicId(),
|
||||
@@ -946,6 +947,7 @@ func TestChangePassword(t *testing.T) {
|
||||
pwAttrs.Password = wrapperspb.String(pw)
|
||||
}
|
||||
attrs, err := handlers.ProtoToStruct(pwAttrs)
|
||||
require.NoError(t, err)
|
||||
createResp, err := tested.CreateAccount(auth.DisabledAuthTestContext(auth.WithScopeId(o.GetPublicId())), &pbs.CreateAccountRequest{
|
||||
Item: &pb.Account{
|
||||
AuthMethodId: am.GetPublicId(),
|
||||
|
||||
Reference in new issue
Block a user