issues
search
acquia
/
acquia-sdk-php
The Acquia SDK for PHP allows developers to build applications on top of Acquia services.
MIT License
25
stars
20
forks
source link
CloudApiClient tweaks and more unit tests (up to 85% coverage)
#9
Closed
webbj74
closed
10 years ago
webbj74
commented
10 years ago
CloudApiClient environmentDatabase(s) methods now return Cloud\Response\Database(s) instead of arrays
Cleaned up some comments in CloudApiClient methods
Adds several helper functions for building fake data
Should split these routines off into a separate class at some point
Adds unit test coverage for the following CloudApiClient methods:
servers
server
siteDatabases
siteDatabase
environmentDatabases
environmentDatabase
databaseBackups
databaseBackup
createDatabaseBackup
taskInfo
Adds tests to validate the URLs created are correct
There is probably a more succinct way of doing this than setting up a separate listener callback for each mock...