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

Updated Tests and Updated GuzzleHttp Version to 7.0 #123

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

whobutsb
Copy link

GuzzleHttp is required in quite a few widely used packages in the PHP ecosystem, in particular Laravel 8.0. While trying to update my application to laravel 8.0 I noticed their were dependency issues with AvaTax-REST-V2-PHP-SDK. I updated the GuzzleHttp version to 7.0, and I also went ahead and fixed the tests so that they would pass correctly. There is also the addition of environment variables in the phpunit.xml so that testers can test against their own sandbox accounts.

Updated the test to expect an Exception instead of throwing an unhandled error.
Added SANDBOX_USERNAME and SANDBOX_PASSWORD to the phpunit.xml so that the tests can be used.
Added a README note on how to run the tests.
Tests are passing correctly.
@whobutsb
Copy link
Author

FYI you should think of doing a version bump of your minimum PHP version. PHP 5.6 is no longer supported and is out of date. https://www.php.net/supported-versions.php

@dwickander dwickander mentioned this pull request Oct 28, 2020
@sporchia
Copy link

@contygm any chance we could get this update fast tracked?

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.

2 participants