refac: stale test entries, failing web tests, Postgre backup bug, Hardcoded MySQL table count, Stale Postgre connection in test, own-scope visibility filter, GetAll ignoring its error, JSON tags in use-case types, 31 copies of DESKTOP_QUERY, ProfileView endpoint paths
This commit is contained in:
1 parent
efecdee200
commit
5d6f378fce
87 files changed
+696
-373
No files matched your search
@@ -167,7 +167,7 @@ func TestUsersAPIInviteRepository(t *testing.T) {
|
||||
if err != nil || renewed.RoleID != writer {
|
||||
t.Fatalf("unexpected %+v, %v", renewed, err)
|
||||
}
|
||||
if all := repo.GetAll(); len(all) != 1 || all[0].RoleID != writer {
|
||||
if all := allOf(repo.GetAll()); len(all) != 1 || all[0].RoleID != writer {
|
||||
t.Errorf("unexpected %+v", all)
|
||||
}
|
||||
})
|
||||
|
||||
Reference in new issue
Block a user