<?php include 'util/test_config.php'; $api = apiAsJDoe(); $command_response = $api->serverCommandsCommandGet('localhost', 'files', ['-m', '10', '//depot/...']); $hasDepotFiles = array_filter($command_response->getResults(), function($x) { return isset($x->depotFile); }); assert(!empty($hasDepotFiles));
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#1 | 19553 | swellard | Move and rename clients | ||
//guest/perforce_software/helix-web-services/main/source/clients/2016.1.0/php/tests/default_api.server_commands_command_get.with_args.php | |||||
#1 | 19242 | tjuricek |
Change, client, command tests for PHP Client SDK. Changed how array-like query parameters were passed to the server to be consistent with other SDKs. |