-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
fix tests #30989
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
fix tests #30989
Conversation
xabbuh
commented
Apr 7, 2019
Q | A |
---|---|
Branch? | 4.2 |
Bug fix? | no |
New feature? | no |
BC breaks? | no |
Deprecations? | no |
Tests pass? | yes |
Fixed tickets | |
License | MIT |
Doc PR |
4319324
to
c3d3bd1
Compare
@@ -68,7 +68,7 @@ public function testDebugDefaultDirectory() | |||
/** | |||
* @group legacy | |||
* @expectedDeprecation Storing translations in the "%ssf_translation%s/Resources/translations" directory is deprecated since Symfony 4.2, use the "%ssf_translation%s/translations" directory instead. | |||
* @expectedDeprecation Storing templates in the "%ssf_translation%s/Resources/views" directory is deprecated since Symfony 4.2, use the "%ssf_translation%s/templates" directory instead. | |||
* @expectedDeprecation Loading Twig templates from the "%ssf_translation%s/Resources/views" directory is deprecated since Symfony 4.2, use the "%ssf_translation%s/templates" directory instead. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
messages were clarified in #30952
@@ -114,7 +114,6 @@ | |||
<div class="form-group{% if (not compound or force_error|default(false)) and not valid %} has-error{% endif %}"> | |||
{{- form_label(form) }} {# -#} | |||
{{ form_widget(form, widget_attr) }} {# -#} | |||
{{ form_widget(form) }} {# -#} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
probably just a mistake when resolving conflicts while merging up
@@ -203,7 +203,7 @@ public function testFailedFileUploadIsTurnedIntoFormErrorUsingHttpFoundationRequ | |||
->createBuilder(static::TESTED_TYPE) | |||
->setRequestHandler(new HttpFoundationRequestHandler()) | |||
->getForm(); | |||
$form->submit(new UploadedFile(__DIR__.'/../../../Fixtures/foo', 'foo', null, null, $errorCode, true)); | |||
$form->submit(new UploadedFile(__DIR__.'/../../../Fixtures/foo', 'foo', null, $errorCode, true)); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
adjustment was needed after merging #30895 up into the 4.2
branch as the filesize argument was deprecated in the meantime
src/Symfony/Component/Form/Tests/Extension/Core/Type/FileTypeTest.php
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you!
This PR was merged into the 4.2 branch. Discussion ---------- fix tests | Q | A | ------------- | --- | Branch? | 4.2 | Bug fix? | no | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | | License | MIT | Doc PR | Commits ------- 27df966 fix tests