1
0

Use the auth methods to get IDs to avoid unneeded casts

This commit is contained in:
kolaente
2019-06-28 10:21:48 +02:00
parent fc3c5f2187
commit f1d21ea52b
25 changed files with 65 additions and 146 deletions

View File

@ -96,7 +96,10 @@ func TestLabel_ReadAll(t *testing.T) {
},
},
{
name: "invalid user",
name: "invalid user",
args: args{
a: &User{ID: -1},
},
wantErr: true,
},
}