8000 [Tests] Silenced all deprecations in tests for 2.3 by saro0h · Pull Request #13033 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content

[Tests] Silenced all deprecations in tests for 2.3 #13033

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
Dec 20, 2014

Conversation

saro0h
Copy link
Contributor
@saro0h saro0h commented Dec 18, 2014
Q A
Bug fix? yes
New feature? no
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets ~
License MIT
Doc PR ~

Also removed src/Symfony/Component/Security/Core/Tests/Validator/Constraints/UserPasswordValidatorTest.php as it was not running at all.

/**
* @author Bernhard Schussek <bschussek@gmail.com>
*/
class UserPasswordValidatorTest extends AbstractConstraintValidatorTest
Copy link
Member

Choose a reason for hiding this comment

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

are you sure it does not run at all ?

Copy link
Member

Choose a reason for hiding this comment

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

looks like this is a legacy file that missed a cleanup (test is never run if I'm not wrong?)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Copy link
Contributor

Choose a reason for hiding this comment

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

Indeed, this test is in the wrong path, and there is actually already a UserPasswordValidatorTest in Symfony\Component\Security\Tests\Core\Validator\Constraints.

Copy link
Member

Choose a reason for hiding this comment

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

hmm indeed. The file is in the path where we moved tests in 2.4+ instead of being in the 2.3 location

@csarrazi
Copy link
Contributor

👍

@fabpot
Copy link
Member
fabpot commented Dec 20, 2014

Thank you @saro0h.

@fabpot fabpot merged commit ef4ae63 into symfony:2.3 Dec 20, 2014
fabpot added a commit that referenced this pull request Dec 20, 2014
This PR was merged into the 2.3 branch.

Discussion
----------

[Tests] Silenced all deprecations in tests for 2.3

| Q             | A
| ------------- | ---
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | ~
| License       | MIT
| Doc PR        | ~

Also removed src/Symfony/Component/Security/Core/Tests/Validator/Constraints/UserPasswordValidatorTest.php as it was not running at all.

Commits
-------

ef4ae63 [Tests] Silenced all deprecations in tests for 2.3
@saro0h saro0h deleted the fix-deprecation branch December 20, 2014 12:53
@saro0h saro0h mentioned this pull request Dec 21, 2014
fabpot added a commit that referenced this pull request Dec 21, 2014
This PR was merged into the 2.5 branch.

Discussion
----------

[Security] Fixed tests

| Q             | A
| ------------- | ---
| Bug fix?      | no
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | ~
| License       | MIT
| Doc PR        | ~

Fixes the tests failing (https://travis-ci.org/symfony/symfony/jobs/44732074#L896)

This class have been removed in 2.3 (#13033) but is actually used since 2.4 (when the split of the Security componen
66A3
t has been made).

Commits
-------

5aa3ef4 [Security] Fixed tests
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.

5 participants
0