-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[FrameworkBundle] Rename internal WebTestCase to avoid confusion #32577
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
Comments
As this is an internal class, renaming is not a BC-break. We should find a new name though. What about |
isnt any "web test case" is a functional concern already 🤔
for the |
|
FrameworkBundle 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 'See symfony#32577
The same is the case in the |
Sounds reasonable to me. |
SecurityBundle 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. See symfony#32577
SecurityBundle 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. See symfony#32577
SecurityBundle 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. See symfony#32577
FrameworkBundle 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. See symfony#32577
SecurityBundle 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. See symfony#32577
FrameworkBundle 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. See symfony#32577
SecurityBundle 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. See symfony#32577
Can we reconsider #20057 please? |
…stCase to avoid confusion (janvt) This PR was squashed before being merged into the 3.4 branch (closes #32625). 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. See #32617 Commits ------- 775d970 [FrameworkBundle] [SecurityBundle] Rename internal WebTestCase to avoid confusion
FrameworkBundle 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. See symfony#32577
SecurityBundle 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. See symfony#32577
…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
Description
FrameworkBundle has two classes called
WebTestCase
:The second is only meant for our internal tests. But because it has the same-name, it's easy for a user to extend the wrong one from their own tests. There is also another internal
WebTestCase
inside SecurityBundle.Has this been discussed before? It seems like an easy win to rename this internal testing class to something else.
The text was updated successfully, but these errors were encountered: