feat: add a new REST endpoint - GET /api/v1/versions/{code}/servers/{key}/players/{id}/tribe-changes
All checks were successful
continuous-integration/drone/pr Build is passing

This commit is contained in:
Dawid Wysokiński 2023-01-15 08:43:06 +01:00
parent 4852397bf9
commit e0d2299404
Signed by: Kichiyaki
GPG Key ID: B5445E357FB8B892

View File

@ -390,8 +390,8 @@ func TestTribeChange_List(t *testing.T) {
resList, err := repo.List(context.Background(), tt.params)
assert.ErrorIs(t, err, tt.expectedErr)
assert.Len(t, resList, len(resListCountWithRelations))
for i, snapshot := range resList {
assert.Equal(t, resListCountWithRelations[i].TribeChange, snapshot)
for i, tc := range resList {
assert.Equal(t, resListCountWithRelations[i].TribeChange, tc)
}
})
}