Auth Method API Handler for CRUDL (not updating password specific fields)(#239)
This commit is contained in:
1 parent
7fefd5e2fe
commit
b7bf76a9ba
15 files changed
+3676
-21
No files matched your search
@@ -496,6 +496,15 @@ func TestRepository_UpdateAuthMethod(t *testing.T) {
|
||||
wantErr: false,
|
||||
wantRowsUpdate: 1,
|
||||
},
|
||||
{
|
||||
name: "null name ignored description",
|
||||
args: args{
|
||||
updates: &store.AuthMethod{Description: "ignored"},
|
||||
fieldMaskPaths: []string{"name"},
|
||||
},
|
||||
wantErr: false,
|
||||
wantRowsUpdate: 1,
|
||||
},
|
||||
{
|
||||
name: "change min pw",
|
||||
args: args{
|
||||
|
||||
Reference in new issue
Block a user