Skip to content

seeResultCodeIs(): Fixing order of arguments#16

Open
ThomasLandauer wants to merge 1 commit intoCodeception:masterfrom
ThomasLandauer:patch-2
Open

seeResultCodeIs(): Fixing order of arguments#16
ThomasLandauer wants to merge 1 commit intoCodeception:masterfrom
ThomasLandauer:patch-2

Conversation

@ThomasLandauer
Copy link
Member

When test code is $I->seeResultCodeIs(0);:
Before:

Step  See result code is 0
Fail  result code is 0
Failed asserting that 0 matches expected 4

After:

Step  See result code is 0
Fail  result code is 4
Failed asserting that 4 matches expected 0.

Before:
```
Step  See result code is 0
Fail  result code is 0
Failed asserting that 0 matches expected 4
```
After:
```
Step  See result code is 0
Fail  result code is 4
Failed asserting that 4 matches expected 0.
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Comments