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

[Symfony 6] Fix submitting a form #471

Merged
merged 3 commits into from
Aug 24, 2022

Conversation

loic425
Copy link
Member

@loic425 loic425 commented Jul 28, 2022

@loic425 loic425 requested a review from a team as a code owner July 28, 2022 13:38
@loic425 loic425 force-pushed the feature/add-routes-to-test-forms branch from 8484ec7 to 70f7bee Compare August 23, 2022 14:45
@loic425 loic425 changed the title Feature/add routes to test forms Add routes to test forms Aug 23, 2022
@loic425 loic425 changed the title Add routes to test forms [Symfony 6] Fix submitting a form Aug 23, 2022
Comment on lines +81 to +84
$this->assertNotNull($book);
$this->assertSame($newBookTitle, $book->getTitle());
$this->assertSame($newBookAuthorFirstName, $book->getAuthorFirstName());
$this->assertSame($newBookAuthorLastName, $book->getAuthorLastName());
Copy link
Contributor

Choose a reason for hiding this comment

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

From my experience, it is better to stay on the same level of tests for the execution of tests and their validation.

@lchrusciel lchrusciel added the Bug Confirmed bugs or bugfixes. label Aug 24, 2022
@lchrusciel lchrusciel merged commit 97733da into Sylius:1.10 Aug 24, 2022
@loic425 loic425 deleted the feature/add-routes-to-test-forms branch August 24, 2022 10:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Confirmed bugs or bugfixes.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Symfony 6.1 form submit error
3 participants