codacy and lint hints

This commit is contained in:
Pascal Fischer
2023-03-20 11:44:12 +01:00
parent 628a201e31
commit b852198f67
7 changed files with 53 additions and 24 deletions

View File

@ -488,7 +488,10 @@ func TestAccountManager_GetAccountFromPAT(t *testing.T) {
AutoGroups: nil,
PATs: []PersonalAccessToken{pat},
}
store.SaveAccount(account)
err := store.SaveAccount(account)
if err != nil {
t.Fatalf("Error when saving account: %s", err)
}
am := DefaultAccountManager{
Store: store,