Skip to content

[TwigBundle] Disable form in tests #21198

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

Merged
merged 1 commit into from
Jan 8, 2017

Conversation

chalasr
Copy link
Member

@chalasr chalasr commented Jan 8, 2017

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

Tests are broken with high deps due to the changes made in #21196

Symfony\Bundle\TwigBundle\Tests\NoTemplatingEntryTest::test
Symfony\Component\DependencyInjection\Exception\LogicException: Form support cannot be enabled as the Translation component is not installed.

Symfony\Bundle\TwigBundle\Tests\NoTemplatingEntryTest::test
Symfony\Component\DependencyInjection\Exception\LogicException: The Validator component is required to use the Form component.

This will fix them.

@chalasr chalasr force-pushed the fix-twigbundle-tests branch from 8ce39e4 to 2a279b9 Compare January 8, 2017 11:35
@chalasr chalasr changed the title [TwigBundle] Fix dev dependencies [TwigBundle] Disable form in tests Jan 8, 2017
@nicolas-grekas
Copy link
Member

But it still breaks?

@chalasr
Copy link
Member Author

chalasr commented Jan 8, 2017

I can't figure out why, it fixed it on my side https://travis-ci.org/chalasr/symfony/builds/189966453. It's like if the changes made here are not took into account

@nicolas-grekas
Copy link
Member

Thank you @chalasr.

@nicolas-grekas nicolas-grekas merged commit 2a279b9 into symfony:master Jan 8, 2017
nicolas-grekas added a commit that referenced this pull request Jan 8, 2017
This PR was merged into the 3.3-dev branch.

Discussion
----------

[TwigBundle] Disable form in tests

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

Tests are broken with high deps due to the changes made in #21196

> Symfony\Bundle\TwigBundle\Tests\NoTemplatingEntryTest::test
Symfony\Component\DependencyInjection\Exception\LogicException: Form support cannot be enabled as the Translation component is not installed.

> Symfony\Bundle\TwigBundle\Tests\NoTemplatingEntryTest::test
Symfony\Component\DependencyInjection\Exception\LogicException: The Validator component is required to use the Form component.

This will fix them.

Commits
-------

2a279b9 [TwigBundle] Disable form in tests
@nicolas-grekas
Copy link
Member

got it: the deps=high line on master checks 3.2 out!

@chalasr chalasr deleted the fix-twigbundle-tests branch January 8, 2017 14:43
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.

4 participants