smartystreets / smartystreets-php-sdk

The official client libraries for accessing SmartyStreets APIs from the PHP Hypertext Processor.
https://smartystreets.com/docs/sdk/php
Apache License 2.0
28 stars 15 forks source link

Update integration test to check environment variables to enable alternative API URLs #16

Closed smartyjohn closed 5 years ago

smartyjohn commented 5 years ago

This allows integration tests to run against other API sources aside from *api.smartystreets.com by specifying specific environment variables as listed in CHANGELOG,md. This allows testing against standalone installations, or for running the SDK against qa/development servers. The docker-compose.yaml is also modified so that integration tests can be run from a docker instance.

Note that this only affects the integration test specifically.

smartyjohn commented 5 years ago

I should add that this mirrors a similar change in the dotnet SDK.

mdwhatcott commented 5 years ago

LGTM