Skip to content
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

Fixes #45 #46

Merged
merged 1 commit into from
Nov 27, 2014
Merged

Fixes #45 #46

merged 1 commit into from
Nov 27, 2014

Conversation

stu177
Copy link
Contributor

@stu177 stu177 commented Nov 27, 2014

This allows the $data parameter on setUpParams() to accept Arrays if an Array is passed to it, allowing multiple additional fields to be declared when making a request.

I've created a test which I think so be right however I can't get it to run locally, getting an NoMatchingExpectationException error from Mockery.

Signed-off-by: Stu Goodman <stuart177@gmail.com>
@coveralls
Copy link

Coverage Status

Coverage decreased (-0.07%) when pulling ced571b on stu177:master into b64fa53 on paquettg:master.

@dnlbauer
Copy link
Collaborator

Looks great. I'll check it out when I'm back home and merge it

@dnlbauer
Copy link
Collaborator

I think the error comes from line 124 in the test.
You expect to get 'string1, string2' but implode to 'string1,string2' (no whitespace).

@dnlbauer dnlbauer merged commit ced571b into paquettg:master Nov 27, 2014
@dnlbauer
Copy link
Collaborator

Fixed your test and added to additional ones specific to setUpParams. merged! 👍

@stu177
Copy link
Contributor Author

stu177 commented Nov 27, 2014

Ah doh. Good spot.
Awesome, glad I could help!

Edit: Also something I noticed, is it worth having a .gitignore for things like the vendor folder and OS files etc?

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.

None yet

3 participants