[SOAP] Actual and Expected inversed #3422

Merged
merged 1 commit into from Aug 10, 2016

Conversation

Projects
None yet
2 participants
@eXorus
Contributor

eXorus commented Aug 9, 2016

Hello,

When I'm using seeSoapResponseEquals or dontSeeSoapResponseEquals the print of actual and expected result was inversed.

https://phpunit.de/manual/current/en/appendixes.assertions.html#appendixes.assertions.assertEquals

seeSoapResponseEquals("expected")

Result before fix

 Test  tests/api/soap.php:test1
 Step  See Soap Response Equals
 Fail  Failed asserting that two strings are equal.
- Expected | + Actual
@@ @@
-'actual'
+'expected'

Result after fix

 Test  tests/api/soap.php:test1
 Step  See Soap Response Equals
 Fail  Failed asserting that two strings are equal.
- Expected | + Actual
@@ @@
-'expected'
+'actual'
@DavertMik

This comment has been minimized.

Show comment
Hide comment
@DavertMik

DavertMik Aug 10, 2016

Member

Thanks

Member

DavertMik commented Aug 10, 2016

Thanks

@DavertMik DavertMik merged commit 8587807 into Codeception:2.2 Aug 10, 2016

3 checks passed

continuous-integration/appveyor/pr AppVeyor build succeeded
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details
semaphoreci The build passed on Semaphore.
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment