Skip to content

[FrameworkBundle] [SecurityBundle] Rename internal WebTestCase to avoid confusion #32626

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
Jul 23, 2019

Conversation

janvt
Copy link
Contributor

@janvt janvt commented Jul 19, 2019

FrameworkBundle & SecurityBundle each had 2 classes called WebTestCase,
one of which is only meant for internal tests. To avoid confusion the internal
class has been renamed to AbstractWebTestCase and made abstract.

Q A
Branch? master
Bug fix? no
New feature? no
BC breaks? no (or, yes, but internal class)
Deprecations? no
Tests pass? yes
Fixed tickets #32577
License MIT

This PR is to ease integration, as not all test classes are present in all currently
maintained branches. This PR should patch relatively well onto 4.* branches.

See #32617

@nicolas-grekas
Copy link
Member

Can be rebased now.

@janvt janvt force-pushed the ticket_32577_4.2 branch from e02d313 to 388bdcb Compare July 23, 2019 11:02
@janvt
Copy link
Contributor Author

janvt commented Jul 23, 2019

done.

@nicolas-grekas
Copy link
Member

Thank you @janvt.

@nicolas-grekas nicolas-grekas merged commit 01aaece into symfony:4.2 Jul 23, 2019
nicolas-grekas added a commit that referenced this pull request Jul 23, 2019
…stCase to avoid confusion (janvt)

This PR was squashed before being merged into the 4.2 branch (closes #32626).

Discussion
----------

[FrameworkBundle] [SecurityBundle] Rename internal WebTestCase to avoid confusion

FrameworkBundle & SecurityBundle each had 2 classes called WebTestCase,
one of which is only meant for internal tests. To avoid confusion the internal
class has been renamed to AbstractWebTestCase and made abstract.

| Q             | A
| ------------- | ---
| Branch?       | master
| Bug fix?      | no
| New feature?  | no
| BC breaks?    | no (or, yes, but internal class)
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | #32577
| License       | MIT

This PR is to ease integration, as not all test classes are present in all currently
maintained branches. This PR should patch relatively well onto 4.* branches.

See #32617

Commits
-------

01aaece [FrameworkBundle] [SecurityBundle] Rename internal WebTestCase to avoid confusion
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