-
-
Notifications
You must be signed in to change notification settings - Fork 2
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
Write some Unit-Tests #11
Comments
Yes, this is the intension 😁
Hasmukh K Mistry <notifications@github.com> schrieb am Di., 1. Okt. 2019,
20:02:
… Hi there, Do you want to setup unit tests?
|
I'll do it |
Is there anything against using a curl wrapper library like PHP Curl / Curl Easy? With one of those it would be easier to mock those curl-calls |
I would like to keep it "as basic as possible" too prevend unneeded overhead (like this will come with librarys). So, please stay with curl ;) |
* code stylings * add phpunit to project * remove some dependencies from class * move curl stuff to own class
* code stylings * use costants instead of magic strings/numbers
* refactored a little bit
Hej @dangenendt , thank you for your efford. I first had merged your PR, but it turned out, that sending logs to the server is no more possibly with your changes. So i had to revert it back to normal (without your PR) to let work again. |
Damn. Sorry for that :( |
It would be nice to have some unit tests for the client.
The text was updated successfully, but these errors were encountered: