Skip to content

Commit

Permalink
fix: test
Browse files Browse the repository at this point in the history
  • Loading branch information
macgeargear committed Jan 13, 2024
1 parent 026cd82 commit 79fec9f
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion src/app/service/pet/pet.service_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,15 @@ func (t *PetServiceTest) TestFindOneSuccess() {

func (t *PetServiceTest) TestFindAllSuccess() {

want := &proto.FindAllPetResponse{Pets: t.createPetsDto(t.Pets, t.ImagesList)}
want := &proto.FindAllPetResponse{
Pets: t.createPetsDto(t.Pets, t.ImagesList),
Metadata: &proto.FindAllPetMetaData{
Page: 1,
TotalPages: 1,
PageSize: int32(len(t.Pets)),
Total: int32(len(t.Pets)),
},
}

var petsIn []*pet.Pet

Expand Down

0 comments on commit 79fec9f

Please sign in to comment.