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
All checks were successful
continuous-integration/drone/pr Build is passing
This commit is contained in:
parent
4852397bf9
commit
e0d2299404
|
@ -390,8 +390,8 @@ func TestTribeChange_List(t *testing.T) {
|
||||||
resList, err := repo.List(context.Background(), tt.params)
|
resList, err := repo.List(context.Background(), tt.params)
|
||||||
assert.ErrorIs(t, err, tt.expectedErr)
|
assert.ErrorIs(t, err, tt.expectedErr)
|
||||||
assert.Len(t, resList, len(resListCountWithRelations))
|
assert.Len(t, resList, len(resListCountWithRelations))
|
||||||
for i, snapshot := range resList {
|
for i, tc := range resList {
|
||||||
assert.Equal(t, resListCountWithRelations[i].TribeChange, snapshot)
|
assert.Equal(t, resListCountWithRelations[i].TribeChange, tc)
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
Reference in New Issue
Block a user