<?php
include 'util/test_config.php';
$api = apiNoAuth();
$login_request = new HelixWebServices\Model\LoginRequest();
$login_request->setUser("jdoe");
$login_request->setPassword("johndoe1A!");
$login_response = $api->loginPost($login_request);
assert(!empty($login_response->getTicket()));
| # | 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.login_post.php | |||||
| #2 | 19237 | tjuricek |
Branch specs test for PHP Client SDK The default template didn't check isset(), so added that to the constructor initialization on models. |
||
| #1 | 19205 | tjuricek | Basic infrastructure for PHP testing, and, removing the ps check after startup - seems to be too fast, though the server should be already responding to p4 info commands. | ||