secultce / mapacultural

Mapas Culturais é uma plataforma colaborativa que reúne informações sobre agentes, espaços, eventos e projetos culturais, fornecendo ao poder público uma radiografia da área de cultura e ao cidadão um mapa de espaços e eventos culturais da região
GNU Affero General Public License v3.0
3 stars 0 forks source link

Add test refactoring. #243

Closed Akellymourab closed 5 months ago

Akellymourab commented 5 months ago

Resolve #235

Akellymourab commented 5 months ago

Agent Api Controller (App\Tests\AgentApiController) ✔ Get agents should retrieve a list ✔ Get one agent should retrieve a object ✔ Get agent types should retrieve a list ↩ Get agent opportunities should retrieve a list ↩ Create agent should create an agent ↩ Delete agent should return success ↩ Update ✔ Update not founded resource

Event Api Controller (App\Tests\EventApiController) ✔ Get event types should retrieve a list ✔ Get one agent should retrieve a object ↩ Get events by spaces should retrieve a list ↩ Post event should create a new event ↩ Delete event should remove an event ↩ Update event should update an event ✔ Update not founded event resource

Opportunity Api Controller (App\Tests\OpportunityApiController) ✔ Get opportunities should retrieve a list ✔ Get one opportunity should retrieve a object

Project Api Controller (App\Tests\ProjectApiController) ✔ Get projects should retrieve a list ✔ Get one project should retrieve a object ✔ Create project should create a project ↩ Delete project should return success ✔ Update project should update a project ✔ Update not founded project resource

Seal Api Controller (App\Tests\SealApiController) ✔ Get seals should retrieve a list ✔ Get one seal should retrieve a object ↩ Create seal should return created seal ↩ Delete seal should return success ↩ Update ↩ Update not founded resource

Space Api Controller (App\Tests\SpaceApiController) ✔ Get spaces should retrieve a list ✔ Get one space should retrieve a object ↩ Create space should return created space ↩ Delete space should return success ↩ Update ✔ Update not founded resource

Welcome Api Controller (App\Tests\WelcomeApiController) ✔ Homepage from a p i ✔ Method d e l e t e from a p i ✔ Method p o s t from a p i ✔ Error response when method is not allowed

OK, but some tests were skipped! Tests: 39, Assertions: 54, Skipped: 16.