frasermclean / adoptrix

Pet adoption centre platform
https://demo.adoptrix.com
MIT License
1 stars 0 forks source link

Animal slug feature #61

Closed frasermclean closed 3 months ago

github-actions[bot] commented 6 months ago

Solution test results

106 tests  +4   105 :white_check_mark: +3   17s :stopwatch: -16s   6 suites ±0     0 :zzz: ±0    6 files   ±0     1 :x: +1 

For more details on these failures, see this check.

Results for commit c9d7b072. ± Comparison against base commit 6b215231.

This pull request removes 41 and adds 45 tests. Note that renamed tests count towards both. ``` Adoptrix.Api.Tests.Controllers.AnimalControllerTests ‑ AddAnimal_WithInvalidRequest_ShouldReturnProblemDetails(name: "Max", description: "", breedId: null, sex: Unknown, ageInYears: 0) Adoptrix.Api.Tests.Controllers.AnimalControllerTests ‑ AddAnimal_WithInvalidRequest_ShouldReturnProblemDetails(name: "Rufus", description: "Another good boy", breedId: null, sex: Unknown, ageInYears: 0) Adoptrix.Api.Tests.Controllers.AnimalControllerTests ‑ AddAnimal_WithInvalidRequest_ShouldReturnProblemDetails(name: null, description: null, breedId: null, sex: Unknown, ageInYears: 0) Adoptrix.Api.Tests.Controllers.AnimalControllerTests ‑ DeleteAnimal_WithValidCommand_ShouldReturnNotContent(animalId: 72d740c2-a6c5-4b0f-9cb2-3d4839c74e30) Adoptrix.Api.Tests.Controllers.AnimalControllerTests ‑ GetAnimal_WithUnknownAnimalId_ShouldReturnNotFound Adoptrix.Api.Tests.Controllers.AnimalControllerTests ‑ GetAnimal_WithValidRequest_ShouldReturnOk(animalId: ea5a47e2-a5d7-4fbd-ba25-6c2041382b85) Adoptrix.Api.Tests.Controllers.AnimalControllerTests ‑ SearchAnimals_WithValidRequest_ShouldReturnOk(name: "name883cddd3-b02b-4553-bcc5-65e8ab6c286e", breedId: bbb36673-4488-4820-b911-c4df5c695fb2) Adoptrix.Api.Tests.Controllers.BreedsControllerTests ‑ AddBreed_WithDuplicateBreedName_ReturnsProblemDetails(request: SetBreedRequest { Name = Name75772b81-7158-4665-87eb-5ecf894aded5, SpeciesId = 9eacca8a-999a-41db-83b3-ca4bbd1adf37 }, breed: Breed { Animals = [], CreatedAt = 2022-12-17T00:26:59.6339937, CreatedBy = f6eda68f-97d2-4c96-a986-b3b6ed5364c2, Id = 173e861a-20d2-441d-aa93-96f612e183f4, Name = "Nameff5a1f53-4fc0-4af6-bebb-c560c59315f6", ··· }) Adoptrix.Api.Tests.Controllers.BreedsControllerTests ‑ AddBreed_WithValidRequest_Returns_Created(request: SetBreedRequest { Name = Name9da8439d-8fe3-4057-bad8-d3cbb21795da, SpeciesId = f33a5e8c-98c6-4905-8996-cfdb1ba0ffc2 }) Adoptrix.Api.Tests.Controllers.BreedsControllerTests ‑ DeleteBreed_WithUnknownBreedId_Returns_NotFound(breedId: 21fe9a65-e99e-4f38-8691-92f9fa0c1533) … ``` ``` Adoptrix.Api.Tests.Controllers.AnimalControllerTests ‑ AddAnimal_WithInvalidRequest_ShouldReturnProblemDetails(name: "Max", description: "", breedId: null, sex: Unknown) Adoptrix.Api.Tests.Controllers.AnimalControllerTests ‑ AddAnimal_WithInvalidRequest_ShouldReturnProblemDetails(name: "Rufus", description: "Another good boy", breedId: null, sex: Unknown) Adoptrix.Api.Tests.Controllers.AnimalControllerTests ‑ AddAnimal_WithInvalidRequest_ShouldReturnProblemDetails(name: null, description: null, breedId: null, sex: Unknown) Adoptrix.Api.Tests.Controllers.AnimalControllerTests ‑ DeleteAnimal_WithValidCommand_ShouldReturnNotContent(animalId: 4670999d-b17b-4a33-99ed-9fe88ff91d4d) Adoptrix.Api.Tests.Controllers.AnimalControllerTests ‑ GetAnimal_WithUnknownAnimalId_ShouldReturnNotFound(animalId: c5b317a2-3e6c-4aa2-ba61-c9edf620cbe0) Adoptrix.Api.Tests.Controllers.AnimalControllerTests ‑ GetAnimal_WithValidRequest_ShouldReturnOk(animalId: 4a3eedad-9b23-4e39-9c30-e75aeb06f14d) Adoptrix.Api.Tests.Controllers.AnimalControllerTests ‑ SearchAnimals_WithValidRequest_ShouldReturnOk(name: "name6643cc25-8b9a-450b-9f5f-8dca279c7403", breedId: 12b045b8-7639-4214-bf87-c1d33e8614fb) Adoptrix.Api.Tests.Controllers.BreedsControllerTests ‑ AddBreed_WithDuplicateBreedName_ReturnsProblemDetails(request: SetBreedRequest { Name = Name186908c3-fd11-465d-8bc8-6a01b91ca210, SpeciesId = da72653d-ee40-4260-9257-f578b477baa6 }, breed: Breed { Animals = [], CreatedAt = 2022-06-01T13:37:08.7691688, CreatedBy = 061890ee-f01f-4ddc-90d2-cb9f15067c8c, Id = 3c2008fc-a82a-445b-8809-045a5ff03d8c, Name = "Name088709b2-b1d9-477a-961d-345a2875fdf8", ··· }) Adoptrix.Api.Tests.Controllers.BreedsControllerTests ‑ AddBreed_WithValidRequest_Returns_Created(request: SetBreedRequest { Name = Name3e23e388-1d38-4441-943e-b3ad2abeb802, SpeciesId = 98f6ed4c-9c15-4d4d-8772-1cc43b5f2e2b }) Adoptrix.Api.Tests.Controllers.BreedsControllerTests ‑ DeleteBreed_WithUnknownBreedId_Returns_NotFound(breedId: d0b70256-8edb-4ce8-8aea-5fd51dc9ccc4) … ```

:recycle: This comment has been updated with latest results.