Skip to content

Use assertStringContainsString when needed #32971

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
Aug 6, 2019

Conversation

jderusse
Copy link
Member

@jderusse jderusse commented Aug 5, 2019

Q A
Branch? 3.4
Bug fix? yes
New feature? no
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets #32844
License MIT
Doc PR NA

This PR replaces deprecated assertContains to comparre string by the dedicated method assertStringContainsString

@jderusse
Copy link
Member Author

jderusse commented Aug 6, 2019

Fix tests in #32972

fabpot added a commit that referenced this pull request Aug 6, 2019
This PR was merged into the 4.4 branch.

Discussion
----------

[PHPUnitBridge] Fix name of logical classes

| Q             | A
| ------------- | ---
| Branch?       | 4.4
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | #32971
| License       | MIT
| Doc PR        | NA

In PHPUnit, class name of logical constaint (and, or, not, ...) does not respect the same pattern than classes

Commits
-------

e2c847f Fix name of logical classes
@nicolas-grekas nicolas-grekas added this to the 3.4 milestone Aug 6, 2019
@jderusse jderusse force-pushed the assertStringContainsString branch from 848195f to 058ef39 Compare August 6, 2019 06:15
@nicolas-grekas
Copy link
Member

Thank you @jderusse.

@nicolas-grekas nicolas-grekas merged commit 058ef39 into symfony:3.4 Aug 6, 2019
nicolas-grekas added a commit that referenced this pull request Aug 6, 2019
This PR was merged into the 3.4 branch.

Discussion
----------

Use assertStringContainsString when needed

| Q             | A
| ------------- | ---
| Branch?       | 3.4
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | #32844
| License       | MIT
| Doc PR        | NA

This PR replaces deprecated assertContains to comparre string by the dedicated method `assertStringContainsString`

Commits
-------

058ef39 Use assertStringContainsString when needed
@jderusse jderusse deleted the assertStringContainsString branch August 8, 2019 11:35
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.

3 participants