From 0c959cbb71a09cdde6342b83fad0c575f1ca090b Mon Sep 17 00:00:00 2001 From: Lars Lehtonen Date: Tue, 20 Oct 2020 06:13:57 -0700 Subject: [PATCH] internal/servers/controller/handlers/accounts: fix dropped test errors (#733) --- .../controller/handlers/accounts/account_service_test.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/internal/servers/controller/handlers/accounts/account_service_test.go b/internal/servers/controller/handlers/accounts/account_service_test.go index f46a701b3a..28bfb3d051 100644 --- a/internal/servers/controller/handlers/accounts/account_service_test.go +++ b/internal/servers/controller/handlers/accounts/account_service_test.go @@ -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(),