Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

325-refactor-model_binding-in-get-student_photo-endpoint #334

Open
wants to merge 8 commits into
base: main
Choose a base branch
from

Conversation

diegdar
Copy link
Collaborator

@diegdar diegdar commented Oct 17, 2024

We want to apply Model Binding to the GET 'student.photo.get' endpoint

…into 325-refactor-model_binding-in-get-student_photo-endpoint

}

public function testCanInstantiateAnUser(): void
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove the fixtures tests (only check the instance of what you are testing, if this has sense)

Copy link
Collaborator

@jordimorillo jordimorillo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review the proposed changes

}

public function test_can_return_a_500_on_internal_server_error(): void
public function testCanReturns_404WithInvalidStudentUuid(): void
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

beware the underscore

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BE] Refactor-Model binding: 'student.photo.get' endpoint
2 participants