frasermclean / adoptrix

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

Remove no-build flag from API publish #94

Closed frasermclean closed 2 months ago

github-actions[bot] commented 2 months ago

Solution test results

93 tests  ±0   93 :white_check_mark: ±0   20s :stopwatch: +2s  5 suites ±0    0 :zzz: ±0   5 files   ±0    0 :x: ±0 

Results for commit 803e860f. ± Comparison against base commit 30678171.

This pull request removes 26 and adds 26 tests. Note that renamed tests count towards both. ``` Adoptrix.Api.Tests.Endpoints.Animals.AddAnimalEndpointTests ‑ AddAnimal_InvalidRole_ShouldReturnForbidden(request: AddAnimalRequest { BreedId = a4cb414e-8357-418e-af56-3d5414707328, DateOfBirth = 03/24/2023, Description = "Descriptiond929ce9a-26d9-4c4b-aa05-9f36e29d91c6", Name = "Name0bf24edd-d0fb-42b2-9e45-dac8997a0ca6", Sex = Unknown, ··· }, breed: Breed { Animals = [], CreatedAt = 2024-09-22T15:52:58.8209606, CreatedBy = e694d54f-fd12-4636-8a91-762cd150ac48, Id = 171d38f0-ad7c-4605-a415-034710ee5f64, Name = "Name82d462e2-b5e4-486e-8c88-32fddb0d077f", ··· }) Adoptrix.Api.Tests.Endpoints.Animals.AddAnimalEndpointTests ‑ AddAnimal_WithInvalidBreedId_ShouldReturnBadRequest(request: AddAnimalRequest { BreedId = 4b596c18-ad3e-4569-aad3-72a2ec1a5626, DateOfBirth = 06/06/2020, Description = "Description66514928-5921-4352-bf1c-98c0df6a41cd", Name = "Name638ffa1c-0d63-4111-b1c2-d220ffb8918c", Sex = Unknown, ··· }) Adoptrix.Api.Tests.Endpoints.Animals.AddAnimalEndpointTests ‑ AddAnimal_WithValidRequest_ShouldReturnCreated(request: AddAnimalRequest { BreedId = 7d23b78e-1a66-46dd-a22f-063d254a5dc3, DateOfBirth = 06/08/2023, Description = "Description34735cea-d2c9-4feb-9f8d-bc84613a111d", Name = "Namead2f6c27-f11d-440c-86c7-ef748d89bf62", Sex = Unknown, ··· }, breed: Breed { Animals = [], CreatedAt = 2023-12-23T22:55:02.3218819, CreatedBy = a9cf0a79-de48-4661-89c3-10fee3843cfd, Id = 4f85edb4-c570-4804-8d26-d0db94ac9fbb, Name = "Name206b6dc8-190a-4d9c-b925-ca7b1314eed3", ··· }) Adoptrix.Api.Tests.Endpoints.Animals.DeleteAnimalEndpointTests ‑ DeleteAnimal_WithInvalidAnimalId_ShouldReturnNotFound(request: DeleteAnimalRequest { AnimalId = 1873a562-49de-4089-bce4-5db248f9352c }) Adoptrix.Api.Tests.Endpoints.Animals.DeleteAnimalEndpointTests ‑ DeleteAnimal_WithValidRequest_ShouldReturnNoContent(request: DeleteAnimalRequest { AnimalId = 9cdcd5ce-21c7-41fd-835c-c0b2ea6734de }, animal: Animal { Breed = Breed { Animals = [···], CreatedAt = 2023-12-25T15:40:41.0265758, CreatedBy = 0a107748-fac3-4720-b7b4-7e81530176cd, Id = 51395253-69c5-4e3c-991c-0c9f0f78d0ca, Name = "Name01c40c05-c207-4f00-984c-2b3a90cc44b9", ··· }, CreatedAt = 2024-07-08T00:19:20.3136407, CreatedBy = a96b812d-ebb1-4914-9962-56cc078c081a, DateOfBirth = 08/22/2023, Description = "Description87e0357e-6c3d-45d8-a463-8edf61e15841", ··· }) Adoptrix.Api.Tests.Endpoints.Animals.GetAnimalEndpointTests ‑ GetAnimal_WithKnownAnimalId_ShouldReturnOk(request: GetAnimalRequest { AnimalId = 8da762b9-c7e7-4bef-813d-fd070161ccb2 }, animal: Animal { Breed = Breed { Animals = [···], CreatedAt = 2024-01-19T22:04:17.4777066, CreatedBy = 96db9cd6-1fd0-405f-9d4a-63c8dcef025e, Id = 0a098ac5-98b9-47df-ad30-38c5deae3871, Name = "Name9f5daec0-e1ab-43b5-97cc-5888c1c6f15c", ··· }, CreatedAt = 2023-05-15T10:14:23.5145238, CreatedBy = 990ef958-a232-466d-8460-64a56a347c93, DateOfBirth = 08/23/2018, Description = "Descriptiona8f860cd-9ddb-4c23-be1e-a05cc60218bb", ··· }) Adoptrix.Api.Tests.Endpoints.Animals.GetAnimalEndpointTests ‑ GetAnimal_WithUnknownAnimalId_ShouldReturnNotFound(request: GetAnimalRequest { AnimalId = 3c115d19-27dc-4d27-bba7-b475a86fc362 }) Adoptrix.Api.Tests.Endpoints.Animals.Images.AddAnimalImagesEndpointTests ‑ AddAnimalImages_WithInvalidAnimalId_ReturnsNotFound(animalId: 47b97c32-06be-4088-957c-c13b4ff30ec6) Adoptrix.Api.Tests.Endpoints.Animals.Images.AddAnimalImagesEndpointTests ‑ AddAnimalImages_WithValidRequest_ShouldReturnOk(animal: Animal { Breed = Breed { Animals = [···], CreatedAt = 2023-06-15T14:41:06.5177897, CreatedBy = 8d16aee5-c15d-4edc-8b6e-6964afb61035, Id = 3547c9f1-aff7-4849-bdd7-7618a079f23d, Name = "Namefb34f065-2edf-441b-9b99-4aa94aaf2ff6", ··· }, CreatedAt = 2023-01-15T16:17:26.0613427, CreatedBy = a0aafaf9-d9b2-4d6e-bca8-f550a31088fe, DateOfBirth = 08/23/2017, Description = "Descriptionbf531f8c-c52a-40f5-8d91-f2e0fe102c9d", ··· }) Adoptrix.Api.Tests.Endpoints.Animals.SearchAnimalEndpointTests ‑ SearchAnimals_WithValidRequest_ShouldReturnOk(items: [SearchAnimalsItem { BreedName = "BreedName651d8009-7488-40bd-b0ae-fa282f2531a2", CreatedAt = 2024-08-29T07:49:08.3579817, DateOfBirth = 12/31/2019, Id = e45f8878-4f21-4cda-9259-fcb06def0256, Image = AnimalImage { AnimalId = 91ec52e7-a267-43af-9449-645324dd5a7f, Description = "Description6c453df2-b605-448a-96bb-a7492ff76f5a", Id = a9b3f338-202a-42d8-aea3-0cbbf478a2fa, IsProcessed = True, OriginalContentType = "OriginalContentTypeda2dcdd0-815f-4372-b9fe-e032df3"···, ··· }, ··· }, SearchAnimalsItem { BreedName = "BreedNamec9494ba9-f060-43ea-a0ac-7c5978264cb0", CreatedAt = 2026-05-02T16:25:22.1145473, DateOfBirth = 06/14/2022, Id = c001ced5-0db0-48f6-bf51-e2ad94c4ec67, Image = AnimalImage { AnimalId = 1b845a51-bea4-47ba-9864-3805cc47a46a, Description = "Descriptionb7cf11d4-e542-4f84-8a1f-c30ce7fecb5d", Id = e3e5432f-86d2-443f-9be5-886adcbcd22e, IsProcessed = False, OriginalContentType = "OriginalContentType61155cfe-a9d4-43ff-99dd-da56143"···, ··· }, ··· }, SearchAnimalsItem { BreedName = "BreedName2a155732-bed5-423e-949d-1e852313c166", CreatedAt = 2024-08-12T14:24:28.7099391, DateOfBirth = 12/05/2020, Id = 2300806d-444f-4bd4-aa15-9ea70dc0e582, Image = AnimalImage { AnimalId = 949f82ec-c154-47ee-b720-e05926306fa0, Description = "Description985060a9-1462-4ae6-9556-f851a40022ac", Id = a8dd9d9d-4a6d-42c9-adfa-9c50ad8c6867, IsProcessed = True, OriginalContentType = "OriginalContentType2716fcbf-c817-4cbd-9068-2a3542f"···, ··· }, ··· }]) … ``` ``` Adoptrix.Api.Tests.Endpoints.Animals.AddAnimalEndpointTests ‑ AddAnimal_InvalidRole_ShouldReturnForbidden(request: AddAnimalRequest { BreedId = ba5e49ec-9ed3-4eca-84b5-22f0e841a890, DateOfBirth = 08/12/2020, Description = "Description2d3fe419-3cb5-46e7-a947-527aa47eeab5", Name = "Name27b63cd2-6c7e-40fe-a3e3-132b4ea95962", Sex = Unknown, ··· }, breed: Breed { Animals = [], CreatedAt = 2026-06-27T03:58:57.3327277, CreatedBy = 0c2c8d9b-b53a-47b9-ad3f-987aa89cdcf8, Id = fe2af702-877c-4e22-afd6-3a133d55d65e, Name = "Namef64d01c6-1aea-444c-b308-17d1b2c7d53e", ··· }) Adoptrix.Api.Tests.Endpoints.Animals.AddAnimalEndpointTests ‑ AddAnimal_WithInvalidBreedId_ShouldReturnBadRequest(request: AddAnimalRequest { BreedId = a4006fd8-9daf-4df1-8c41-a833f8e3435e, DateOfBirth = 07/20/2022, Description = "Description66ab8328-c386-4bff-a586-1154b241f667", Name = "Named43d6bd3-c680-4583-a8bb-ec2b5e1be34e", Sex = Unknown, ··· }) Adoptrix.Api.Tests.Endpoints.Animals.AddAnimalEndpointTests ‑ AddAnimal_WithValidRequest_ShouldReturnCreated(request: AddAnimalRequest { BreedId = 9e87ba42-b3d6-4dd3-8007-d3aeb17b717c, DateOfBirth = 08/14/2022, Description = "Descriptioncdf7bb0d-af23-4da8-af6d-3828edf343ba", Name = "Name3745bf95-9ec8-420d-bce8-2d8f2742b699", Sex = Unknown, ··· }, breed: Breed { Animals = [], CreatedAt = 2023-05-12T11:32:09.0067577, CreatedBy = a1b9a654-5ecd-4a74-a657-b56f91376580, Id = e8e44bfa-449f-4144-9d00-16b9c0ff7ac4, Name = "Name80dbef14-87d8-4230-b7e1-158bee19464b", ··· }) Adoptrix.Api.Tests.Endpoints.Animals.DeleteAnimalEndpointTests ‑ DeleteAnimal_WithInvalidAnimalId_ShouldReturnNotFound(request: DeleteAnimalRequest { AnimalId = b4ad186c-6881-47af-b165-61cfaa586c89 }) Adoptrix.Api.Tests.Endpoints.Animals.DeleteAnimalEndpointTests ‑ DeleteAnimal_WithValidRequest_ShouldReturnNoContent(request: DeleteAnimalRequest { AnimalId = 4dc5c342-e2e3-446e-9323-dc6dc63c2d42 }, animal: Animal { Breed = Breed { Animals = [···], CreatedAt = 2023-11-17T10:40:01.3916747, CreatedBy = 501d8325-1bd6-44e9-8d17-93afa524e23c, Id = bf6b4b4d-9c89-450c-8a78-b670042fffa0, Name = "Name092f4499-02d0-4c38-9f74-39b87aea0815", ··· }, CreatedAt = 2023-09-18T03:37:05.9751285, CreatedBy = 34bf220a-148d-4b73-8b71-a9aec5f6f4e2, DateOfBirth = 08/22/2022, Description = "Descriptione232e453-4b07-4db2-b981-f256e9cbc89e", ··· }) Adoptrix.Api.Tests.Endpoints.Animals.GetAnimalEndpointTests ‑ GetAnimal_WithKnownAnimalId_ShouldReturnOk(request: GetAnimalRequest { AnimalId = 141c67d0-e38a-425d-a33d-e1a3a6e00552 }, animal: Animal { Breed = Breed { Animals = [···], CreatedAt = 2022-08-27T23:26:20.0601411, CreatedBy = 05ec192d-8175-4f7f-ac64-471529d4cf10, Id = 2cde4ecb-5be4-42ca-8f92-3018ee931409, Name = "Nameaeb069c2-c62e-4f61-b6fe-36366a6b4995", ··· }, CreatedAt = 2025-08-16T00:20:00.3179819, CreatedBy = de13d05f-1572-4559-8d2f-c6204617357b, DateOfBirth = 08/24/2015, Description = "Description64eb0cbe-73fa-4243-b274-b1c896c167a5", ··· }) Adoptrix.Api.Tests.Endpoints.Animals.GetAnimalEndpointTests ‑ GetAnimal_WithUnknownAnimalId_ShouldReturnNotFound(request: GetAnimalRequest { AnimalId = e497d973-81b2-4088-a41f-b51c3487dfe8 }) Adoptrix.Api.Tests.Endpoints.Animals.Images.AddAnimalImagesEndpointTests ‑ AddAnimalImages_WithInvalidAnimalId_ReturnsNotFound(animalId: 037d20d4-45d8-453b-bf8d-2513e72cd741) Adoptrix.Api.Tests.Endpoints.Animals.Images.AddAnimalImagesEndpointTests ‑ AddAnimalImages_WithValidRequest_ShouldReturnOk(animal: Animal { Breed = Breed { Animals = [···], CreatedAt = 2023-05-09T23:49:08.4037163, CreatedBy = 7add7e12-c2a8-4b4b-b571-ac5b54c57cf9, Id = 5b3c457b-bb9b-4080-aba2-af7b3cb1680b, Name = "Namef56a8cd3-af26-4877-bdf6-7466d75ac208", ··· }, CreatedAt = 2024-03-04T05:40:02.0454876, CreatedBy = cc1be6e8-f63c-4e5f-9b46-cd0c467d4e8a, DateOfBirth = 08/22/2020, Description = "Description04d01f8a-e5e2-4ca2-8c3a-bdf05c34f0a0", ··· }) Adoptrix.Api.Tests.Endpoints.Animals.SearchAnimalEndpointTests ‑ SearchAnimals_WithValidRequest_ShouldReturnOk(items: [SearchAnimalsItem { BreedName = "BreedNamedc753686-4470-41db-8574-37e8685862a9", CreatedAt = 2025-06-08T00:48:14.9082255, DateOfBirth = 09/29/2020, Id = a5bdc01b-7064-4e38-9b6a-ab68e5c20c02, Image = AnimalImage { AnimalId = 936b8ab6-6949-4a96-bea0-1fdaf83705c5, Description = "Descriptionb8187447-3f75-4fe5-80bf-2c8cafc4b5d9", Id = c1f168f6-9db3-4d5d-a66f-4497532efb79, IsProcessed = True, OriginalContentType = "OriginalContentType97ac8f5a-a491-471c-bf94-80dc6f6"···, ··· }, ··· }, SearchAnimalsItem { BreedName = "BreedName4d8029a0-fe7b-42b6-919c-f626ff37e1c1", CreatedAt = 2024-11-21T01:11:14.4565342, DateOfBirth = 05/07/2021, Id = 11637f6f-a429-473f-ba19-7862cfe0b1ab, Image = AnimalImage { AnimalId = 9c0e40c3-d35f-4031-8201-9ba40f20d719, Description = "Descriptiona2e8d5cc-781a-46bf-a28e-784ed7c5d2a7", Id = 70b1eb9f-b250-4a6a-88dd-155271c7d4ee, IsProcessed = False, OriginalContentType = "OriginalContentType838057f9-f987-45dd-b10d-75dcf55"···, ··· }, ··· }, SearchAnimalsItem { BreedName = "BreedName3ddb9242-77dd-4633-b240-e5e55e3da451", CreatedAt = 2025-07-18T15:41:11.4087109, DateOfBirth = 04/11/2022, Id = 684521fb-3262-47e6-9095-96e0e74b67a8, Image = AnimalImage { AnimalId = 0b1f5ea3-f66a-415d-b20d-dbd6768fc40a, Description = "Description95666beb-10a4-43bf-ba70-11f7fc90075a", Id = 42deac9d-0767-474f-8d4a-d4629554c244, IsProcessed = True, OriginalContentType = "OriginalContentTypee4a20595-0318-4333-9165-d6144d7"···, ··· }, ··· }]) … ```
codecov[bot] commented 2 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 75.78%. Comparing base (3067817) to head (803e860). Report is 3 commits behind head on main.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #94 +/- ## ======================================= Coverage 75.78% 75.78% ======================================= Files 121 121 Lines 1495 1495 Branches 86 86 ======================================= Hits 1133 1133 Misses 339 339 Partials 23 23 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.