frasermclean / adoptrix

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

Update repository tagging strategy #93

Closed frasermclean closed 2 months ago

github-actions[bot] commented 2 months ago

Solution test results

93 tests  ±0   93 :white_check_mark: ±0   16s :stopwatch: -2s  5 suites ±0    0 :zzz: ±0   5 files   ±0    0 :x: ±0 

Results for commit 04f6feee. ± Comparison against base commit 45f46405.

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 = e611b0e9-ed9e-4f85-b5d0-b868e80e0dfc, DateOfBirth = 11/25/2020, Description = "Description813b374c-f675-4f35-b98f-cfb1e8d1b260", Name = "Name290dc79a-bcb0-4461-aad5-dec2ad074f7b", Sex = Unknown, ··· }, breed: Breed { Animals = [], CreatedAt = 2022-12-17T19:08:00.4298486, CreatedBy = 8ea5fd24-be47-47b8-acf4-68a9b51df8ae, Id = 6d64a7d2-b489-43a9-9f00-943a53aba4ae, Name = "Namef4d42f3e-1a4c-4b0d-949e-9dcabe50603d", ··· }) Adoptrix.Api.Tests.Endpoints.Animals.AddAnimalEndpointTests ‑ AddAnimal_WithInvalidBreedId_ShouldReturnBadRequest(request: AddAnimalRequest { BreedId = e1d8291e-7c6f-40ad-8023-348bb5e38cf1, DateOfBirth = 12/28/2021, Description = "Description6eff8ffb-99eb-49de-bfb5-f14e97e2a1fc", Name = "Name18ddcaef-6705-46c8-9acd-196ac3de0314", Sex = Unknown, ··· }) Adoptrix.Api.Tests.Endpoints.Animals.AddAnimalEndpointTests ‑ AddAnimal_WithValidRequest_ShouldReturnCreated(request: AddAnimalRequest { BreedId = 175c7648-3c4d-4a32-b800-e9e475f3df2c, DateOfBirth = 09/26/2022, Description = "Description91ac66a6-1b01-4d49-ad83-58dc0ce70b39", Name = "Name5d8d1bb3-3d91-42a0-90cc-d3e72789241d", Sex = Unknown, ··· }, breed: Breed { Animals = [], CreatedAt = 2025-12-28T21:22:48.9927628, CreatedBy = 48dcb0a6-a3a0-4f9b-adda-ab5e1c89a5c1, Id = d9e5a6c0-709c-4af3-b3fa-afe6e6a639d9, Name = "Name8af2fbb6-6f2a-4505-a37d-21fb5b5cb55d", ··· }) Adoptrix.Api.Tests.Endpoints.Animals.DeleteAnimalEndpointTests ‑ DeleteAnimal_WithInvalidAnimalId_ShouldReturnNotFound(request: DeleteAnimalRequest { AnimalId = bdcc4580-5c7a-4f20-9a2f-fda89ad2878f }) Adoptrix.Api.Tests.Endpoints.Animals.DeleteAnimalEndpointTests ‑ DeleteAnimal_WithValidRequest_ShouldReturnNoContent(request: DeleteAnimalRequest { AnimalId = 7792d1a0-bbef-483b-a253-a28550119e7b }, animal: Animal { Breed = Breed { Animals = [···], CreatedAt = 2024-07-08T04:33:22.9051792, CreatedBy = 496831de-37d0-40e0-b03d-5219b2109028, Id = 868fffbb-8237-4b62-9001-53fcea3269d0, Name = "Named559e2e8-8d41-4db5-bff8-dd4d0fc46be1", ··· }, CreatedAt = 2024-10-29T14:30:11.5093763, CreatedBy = 564d3b24-759c-491e-927b-4c9bc0f9e290, DateOfBirth = 08/22/2020, Description = "Description850bdbc5-8f4c-479f-84ba-7781eea0eab5", ··· }) Adoptrix.Api.Tests.Endpoints.Animals.GetAnimalEndpointTests ‑ GetAnimal_WithKnownAnimalId_ShouldReturnOk(request: GetAnimalRequest { AnimalId = c6c548e1-2561-4ae2-95d1-722fd00a902e }, animal: Animal { Breed = Breed { Animals = [···], CreatedAt = 2024-01-11T20:00:07.0506682, CreatedBy = 7a922dca-cec0-4044-b214-32a96c26da6e, Id = c39f5d09-138a-4133-b4b5-393da81e75a6, Name = "Namefb1befe2-d914-4347-b4ed-f531c06249a5", ··· }, CreatedAt = 2024-06-28T17:50:52.8082220, CreatedBy = 980e639d-a956-4ef4-a320-32bc34eaa2cc, DateOfBirth = 08/23/2019, Description = "Description1d792756-40c4-49ac-9766-945ee568d15d", ··· }) Adoptrix.Api.Tests.Endpoints.Animals.GetAnimalEndpointTests ‑ GetAnimal_WithUnknownAnimalId_ShouldReturnNotFound(request: GetAnimalRequest { AnimalId = 08ac8afe-97bf-46ce-99cd-6bab27a10b08 }) Adoptrix.Api.Tests.Endpoints.Animals.Images.AddAnimalImagesEndpointTests ‑ AddAnimalImages_WithInvalidAnimalId_ReturnsNotFound(animalId: 0c7e6af8-1bdb-4a2d-8bce-2f3bd129df40) Adoptrix.Api.Tests.Endpoints.Animals.Images.AddAnimalImagesEndpointTests ‑ AddAnimalImages_WithValidRequest_ShouldReturnOk(animal: Animal { Breed = Breed { Animals = [···], CreatedAt = 2026-05-21T04:06:34.3315948, CreatedBy = bade44ae-f868-4709-bc09-38214f07b7d1, Id = d01d9653-0e1b-46a9-9587-b1dd49ad82a9, Name = "Namebeabc622-370e-42df-81b5-d5673f78a8b7", ··· }, CreatedAt = 2024-10-30T13:41:00.2945332, CreatedBy = 39e680fa-16ab-4f9d-80ab-14913bd39735, DateOfBirth = 08/23/2018, Description = "Descriptionb4d084ab-8fcb-4b84-bb8f-358ac179baa1", ··· }) Adoptrix.Api.Tests.Endpoints.Animals.SearchAnimalEndpointTests ‑ SearchAnimals_WithValidRequest_ShouldReturnOk(items: [SearchAnimalsItem { BreedName = "BreedName9189a9b2-6e01-47eb-af45-ddcfaef9aedf", CreatedAt = 2026-08-11T10:51:27.1415803, DateOfBirth = 02/26/2023, Id = 4885162c-7862-464d-96fa-68b749e9a427, Image = AnimalImage { AnimalId = 0f612afa-9b55-440f-aff3-f49e47a368d6, Description = "Description1970410f-2011-4ad4-8e59-b477a73df76d", Id = 2f9356b5-2894-4a23-b186-a47a76c2f523, IsProcessed = True, OriginalContentType = "OriginalContentType353f7d02-f63f-4912-ae19-0381274"···, ··· }, ··· }, SearchAnimalsItem { BreedName = "BreedNameb303d023-3a26-47f7-bb25-9f703d849849", CreatedAt = 2026-06-16T15:29:29.9269578, DateOfBirth = 06/02/2020, Id = 15a43cef-fdd8-4e4d-8062-9579910fc2aa, Image = AnimalImage { AnimalId = 75614abb-ae76-486a-85f3-5573c169237d, Description = "Description7c6d2181-9eda-46e5-8f47-082a82b2113e", Id = 9e8c78f4-9c32-4878-85b7-b7c829feec87, IsProcessed = False, OriginalContentType = "OriginalContentType32e5d593-8444-492b-9f4a-258bf82"···, ··· }, ··· }, SearchAnimalsItem { BreedName = "BreedName6081d869-7610-44b7-ac33-85ab1894efa0", CreatedAt = 2023-05-22T19:01:34.2612990, DateOfBirth = 01/15/2023, Id = f31bfc55-2a97-4780-8b6b-87b1556e16f5, Image = AnimalImage { AnimalId = c5e9e952-3297-4339-adfd-b66dbee06b76, Description = "Description2f8f03d3-e3ff-4d63-b966-c2456a16000a", Id = cf53038d-4d01-4473-be94-ac72ff9661d5, IsProcessed = True, OriginalContentType = "OriginalContentType77149250-ad3a-49f4-a782-46b61d9"···, ··· }, ··· }]) … ``` ``` Adoptrix.Api.Tests.Endpoints.Animals.AddAnimalEndpointTests ‑ AddAnimal_InvalidRole_ShouldReturnForbidden(request: AddAnimalRequest { BreedId = f33cbd29-a4c7-4887-8df3-bc775ada0c74, DateOfBirth = 09/05/2021, Description = "Descriptionc13298d3-0580-42b7-85ca-091217c1625f", Name = "Namefbf5216d-39ed-4bfc-83db-60f07770ea9d", Sex = Unknown, ··· }, breed: Breed { Animals = [], CreatedAt = 2023-08-28T21:34:29.2577636, CreatedBy = 9800951a-ba32-4d51-802f-f19514cdd24a, Id = aab7c4b0-18c7-48d5-bae2-770496e9313d, Name = "Name03d37140-af75-47df-8de3-c1fda7a02c74", ··· }) Adoptrix.Api.Tests.Endpoints.Animals.AddAnimalEndpointTests ‑ AddAnimal_WithInvalidBreedId_ShouldReturnBadRequest(request: AddAnimalRequest { BreedId = 6be7792a-88e1-4c62-9508-e8e5d2ef3a0a, DateOfBirth = 11/09/2022, Description = "Descriptionfea2fb39-f449-4a68-9702-5f531cb2393f", Name = "Namec0baba04-8d1e-44ec-823a-9eb8c80b4830", Sex = Unknown, ··· }) Adoptrix.Api.Tests.Endpoints.Animals.AddAnimalEndpointTests ‑ AddAnimal_WithValidRequest_ShouldReturnCreated(request: AddAnimalRequest { BreedId = b44fd650-ce08-4556-910f-eca039a1d17f, DateOfBirth = 10/06/2021, Description = "Descriptionf6eba5f6-c1fd-4ff1-8b75-bf0b0ab2d62e", Name = "Namefd8be211-5363-4aec-94f2-29cd81acc843", Sex = Unknown, ··· }, breed: Breed { Animals = [], CreatedAt = 2024-08-06T20:04:46.3258754, CreatedBy = 7cb8ed88-ba39-4501-8133-f5297519c409, Id = 48d8c90e-cbf1-4ca8-99ef-ca19a03096a4, Name = "Name1c6cb1c1-cea4-4d8c-915c-c6d63bc9c46c", ··· }) Adoptrix.Api.Tests.Endpoints.Animals.DeleteAnimalEndpointTests ‑ DeleteAnimal_WithInvalidAnimalId_ShouldReturnNotFound(request: DeleteAnimalRequest { AnimalId = 6da32fea-7323-418b-aa07-b60a448ae832 }) Adoptrix.Api.Tests.Endpoints.Animals.DeleteAnimalEndpointTests ‑ DeleteAnimal_WithValidRequest_ShouldReturnNoContent(request: DeleteAnimalRequest { AnimalId = 4570bf9f-21dd-4aa3-9293-ae1676c5ceb4 }, animal: Animal { Breed = Breed { Animals = [···], CreatedAt = 2024-08-02T22:16:30.8654242, CreatedBy = 3e444034-f480-4728-b6ab-c1e4dd502106, Id = 56b00335-5c07-41f9-88ab-910776820684, Name = "Namea58f187b-4a30-4d47-b474-4dc320a85f47", ··· }, CreatedAt = 2022-12-10T23:09:57.3151726, CreatedBy = f793ff58-b98c-43fc-8a09-0016c0c70454, DateOfBirth = 08/22/2020, Description = "Descriptionfa20120b-0131-486f-875a-ea8294df7645", ··· }) Adoptrix.Api.Tests.Endpoints.Animals.GetAnimalEndpointTests ‑ GetAnimal_WithKnownAnimalId_ShouldReturnOk(request: GetAnimalRequest { AnimalId = 0d0da885-9741-43ea-b4b4-f7e9a84527b0 }, animal: Animal { Breed = Breed { Animals = [···], CreatedAt = 2026-05-20T08:26:41.6724566, CreatedBy = 2b87511f-38c0-484d-973b-414cece684af, Id = 994c6dcc-ab10-4c9b-94f6-e02fd0fae9fa, Name = "Namebe570eda-ddee-4c96-a1e9-c586f2ac6bbf", ··· }, CreatedAt = 2026-04-01T12:57:01.4771512, CreatedBy = 86a56fbc-9ae0-4b49-9953-7a56d71b2806, DateOfBirth = 08/22/2022, Description = "Description9b9b0bf5-1b77-43c1-95ff-f2264f9c6ce2", ··· }) Adoptrix.Api.Tests.Endpoints.Animals.GetAnimalEndpointTests ‑ GetAnimal_WithUnknownAnimalId_ShouldReturnNotFound(request: GetAnimalRequest { AnimalId = 5a337aec-da40-4878-a5bd-1e5e07cf5020 }) Adoptrix.Api.Tests.Endpoints.Animals.Images.AddAnimalImagesEndpointTests ‑ AddAnimalImages_WithInvalidAnimalId_ReturnsNotFound(animalId: ddc942a7-0ebc-430d-9f02-b9070a6d6579) Adoptrix.Api.Tests.Endpoints.Animals.Images.AddAnimalImagesEndpointTests ‑ AddAnimalImages_WithValidRequest_ShouldReturnOk(animal: Animal { Breed = Breed { Animals = [···], CreatedAt = 2023-12-18T18:09:50.7597803, CreatedBy = 93bc6980-7595-450d-91d8-9ec1f5422e81, Id = 02e719b2-6752-4aaa-8fce-5037cae5581e, Name = "Name88d15ff7-28f7-4fca-a5ab-950da77927e6", ··· }, CreatedAt = 2025-06-24T08:25:51.9150974, CreatedBy = cf1286d3-4bb2-4a80-b254-dddf595bbac3, DateOfBirth = 08/24/2015, Description = "Descriptionb46a868e-8f76-474c-b15d-62a6603c4543", ··· }) Adoptrix.Api.Tests.Endpoints.Animals.SearchAnimalEndpointTests ‑ SearchAnimals_WithValidRequest_ShouldReturnOk(items: [SearchAnimalsItem { BreedName = "BreedNamee198b130-7337-4c3a-9b28-ebadf324b771", CreatedAt = 2024-08-20T07:46:09.0089627, DateOfBirth = 09/11/2022, Id = f1704701-baa4-4fe8-9d5d-bf1479a8a154, Image = AnimalImage { AnimalId = c0e3022f-e60f-48c2-959c-1b191691ebf9, Description = "Description057e6a1f-2ec4-402b-9cfe-2187c87c5b18", Id = d668b52f-bed5-488f-8006-5fa51e1a2365, IsProcessed = True, OriginalContentType = "OriginalContentType730eba9f-bfc6-44b3-9a13-a17507f"···, ··· }, ··· }, SearchAnimalsItem { BreedName = "BreedNamecab6c372-a961-4325-b4de-cdcf88de12e5", CreatedAt = 2025-01-25T02:41:36.4459345, DateOfBirth = 04/25/2021, Id = 07e90e67-9bb4-4a0c-84f7-1b25f8733a1a, Image = AnimalImage { AnimalId = 3460fe82-af6c-45b7-882d-508835c3bcad, Description = "Description57e5fc14-6829-4242-b586-b16bc6c06373", Id = dc58953f-6d0f-4f69-84eb-2988b8d3654e, IsProcessed = False, OriginalContentType = "OriginalContentType5f428d14-a668-4510-852e-2d17032"···, ··· }, ··· }, SearchAnimalsItem { BreedName = "BreedName95464ff9-6e68-4cb1-904a-2f3170062a6a", CreatedAt = 2025-05-05T04:55:21.8289688, DateOfBirth = 03/18/2022, Id = f21c7217-4c4c-4400-bc3d-208d1fc36a8d, Image = AnimalImage { AnimalId = 2596474e-890f-4dcd-9b21-241f47ff5e18, Description = "Descriptiondfe50c48-7492-4aed-8e01-7dede77f8ad2", Id = 54cc651c-aa79-478d-b8aa-baa9e0001d05, IsProcessed = True, OriginalContentType = "OriginalContentType04870b00-789f-4a56-becf-9979cda"···, ··· }, ··· }]) … ```
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 (45f4640) to head (04f6fee). Report is 2 commits behind head on main.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #93 +/- ## ======================================= 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.