优化
This commit is contained in:
@@ -41,7 +41,7 @@ func TestUserAuthorityWritesAreAtomic(t *testing.T) {
|
||||
t.Fatalf("authority links = %d, err = %v", links, err)
|
||||
}
|
||||
|
||||
// With strict authority checks disabled, GVA writes the supplied join rows
|
||||
// With strict authority checks disabled, the reference implementation writes the supplied join rows
|
||||
// without first requiring every role record to exist.
|
||||
created.NickName = "compatible update"
|
||||
if err = repo.UpdateUserWithAuthorities(ctx, created, []uint{888, 123456}); err != nil {
|
||||
|
||||
Reference in New Issue
Block a user