Skip to content

Conversation

@xabbuh
Copy link
Member

@xabbuh xabbuh commented Aug 27, 2016

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

Currently our tests for deprecation messages just pass "accidentally" (we never pass arrays but only strings).

@HeahDude
Copy link
Contributor

👍

Status: reviewed

@chalasr
Copy link
Member

chalasr commented Aug 27, 2016

Tests are failing on travis due to an outdated assertion, unrelated to these changes.
See #19760

👍

@xabbuh
Copy link
Member Author

xabbuh commented Aug 27, 2016

@chalasr Thanks for the fix. Actually, the tests should have failed before, but didn't because of the implementation inside the ErrorAssert that will be fixed by this PR.

@javiereguiluz
Copy link
Member

👍

nicolas-grekas added a commit that referenced this pull request Aug 29, 2016
This PR was merged into the 3.1 branch.

Discussion
----------

[Yaml] sync test and actually triggered message

| Q             | A
| ------------- | ---
| Branch?       | 3.1
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | see failures in #19757
| License       | MIT
| Doc PR        |

Commits
-------

e8dfd4d [Yaml] sync test and actually triggered message
@nicolas-grekas
Copy link
Member

Thank you @xabbuh.

@nicolas-grekas nicolas-grekas merged commit 8ceed79 into symfony:master Aug 29, 2016
nicolas-grekas added a commit that referenced this pull request Aug 29, 2016
This PR was merged into the 3.2-dev branch.

Discussion
----------

[PhpUnitBridge] allow to pass a message as string

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

Currently our tests for deprecation messages just pass "accidentally" (we never pass arrays but only strings).

Commits
-------

8ceed79 [PhpUnitBridge] allow to pass a message as string
@xabbuh xabbuh deleted the error-assert-expected-messages-type branch August 29, 2016 10:31
@fabpot fabpot mentioned this pull request Oct 27, 2016
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.

6 participants