Closed stu177 closed 10 years ago
Looks great. I'll check it out when I'm back home and merge it
I think the error comes from line 124 in the test. You expect to get 'string1, string2' but implode to 'string1,string2' (no whitespace).
Fixed your test and added to additional ones specific to setUpParams. merged! :+1:
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?
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.