Skip to content

[FrameworkBundle][2.8] Add tests for the Controller class #18206

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

Closed
wants to merge 3 commits into from

Conversation

dunglas
Copy link
Member

@dunglas dunglas commented Mar 16, 2016

Q A
Branch? 2.8
Bug fix? no
New feature? no
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets n/a
License MIT
Doc PR n/a

Backport tests of #18193 to the abstract Controller.

@dunglas dunglas changed the title [FrameworkBundle] Add tests for the Controller class [FrameworkBundle][2.8] Add tests for the Controller class Mar 16, 2016
@xabbuh
Copy link
Member

xabbuh commented Mar 17, 2016

Missing dependency for Twig in the FrameworkBundle's require-dev section.

@dunglas
Copy link
Member Author

dunglas commented Mar 17, 2016

@xabbuh thanks, fixed.

@dunglas
Copy link
Member Author

dunglas commented Mar 17, 2016

AppVeyor error not related.

@@ -86,7 +86,8 @@
"monolog/monolog": "~1.11",
"ocramius/proxy-manager": "~0.4|~1.0|~2.0",
"egulias/email-validator": "~1.2",
"phpdocumentor/reflection": "^1.0.7"
"phpdocumentor/reflection": "^1.0.7",
"twig/twig": "~1.23|~2.0"
Copy link
Member

Choose a reason for hiding this comment

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

we already have Twig as a regular requirement. Having it in both section is bad as it can create weird behaviors in Composer (unlikely here for ow as the constraint is the same, but they may likely get out of sync)

Copy link
Member Author

Choose a reason for hiding this comment

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

My bad my first intent was to update the FrameworkBundle one.

Copy link
Member

Choose a reason for hiding this comment

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

So, this change should be removed.

Copy link
Member Author

Choose a reason for hiding this comment

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

done

@dunglas dunglas force-pushed the controller_test_28 branch from 6a056b2 to 6af2815 Compare March 19, 2016 08:46
@fabpot
Copy link
Member

fabpot commented Mar 21, 2016

Thank you @dunglas.

fabpot added a commit that referenced this pull request Mar 21, 2016
…s (dunglas)

This PR was squashed before being merged into the 2.8 branch (closes #18206).

Discussion
----------

[FrameworkBundle][2.8] Add tests for the Controller class

| Q             | A
| ------------- | ---
| Branch?       | 2.8
| Bug fix?      | no
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | n/a
| License       | MIT
| Doc PR        | n/a

Backport tests of #18193 to the `abstract` Controller.

Commits
-------

5ee9f93 [FrameworkBundle][2.8] Add tests for the Controller class
@fabpot fabpot closed this Mar 21, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants