forked from loafle/openapi-generator-original
* [Slim4] Bump PHP_CodeSniffer version to 3.5.* * [Slim4] Update samples * [Slim4] Update template to meet PSR-12
159 lines
2.9 KiB
PHP
159 lines
2.9 KiB
PHP
<?php
|
|
|
|
/**
|
|
* UserApiTest
|
|
*
|
|
* PHP version 7.1
|
|
*
|
|
* @package OpenAPIServer\Api
|
|
* @author OpenAPI Generator team
|
|
* @link https://github.com/openapitools/openapi-generator
|
|
*/
|
|
|
|
/**
|
|
* OpenAPI Petstore
|
|
*
|
|
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
|
|
* The version of the OpenAPI document: 1.0.0
|
|
* Generated by: https://github.com/openapitools/openapi-generator.git
|
|
*/
|
|
|
|
/**
|
|
* NOTE: This class is auto generated by the openapi generator program.
|
|
* https://github.com/openapitools/openapi-generator
|
|
* Please update the test case below to test the endpoint.
|
|
*/
|
|
namespace OpenAPIServer\Api;
|
|
|
|
use PHPUnit\Framework\TestCase;
|
|
use OpenAPIServer\Api\UserApi;
|
|
|
|
/**
|
|
* UserApiTest Class Doc Comment
|
|
*
|
|
* @package OpenAPIServer\Api
|
|
* @author OpenAPI Generator team
|
|
* @link https://github.com/openapitools/openapi-generator
|
|
*
|
|
* @coversDefaultClass \OpenAPIServer\Api\UserApi
|
|
*/
|
|
class UserApiTest extends TestCase
|
|
{
|
|
|
|
/**
|
|
* Setup before running any test cases
|
|
*/
|
|
public static function setUpBeforeClass()
|
|
{
|
|
}
|
|
|
|
/**
|
|
* Setup before running each test case
|
|
*/
|
|
public function setUp()
|
|
{
|
|
}
|
|
|
|
/**
|
|
* Clean up after running each test case
|
|
*/
|
|
public function tearDown()
|
|
{
|
|
}
|
|
|
|
/**
|
|
* Clean up after running all test cases
|
|
*/
|
|
public static function tearDownAfterClass()
|
|
{
|
|
}
|
|
|
|
/**
|
|
* Test case for createUser
|
|
*
|
|
* Create user.
|
|
*
|
|
* @covers ::createUser
|
|
*/
|
|
public function testCreateUser()
|
|
{
|
|
}
|
|
|
|
/**
|
|
* Test case for createUsersWithArrayInput
|
|
*
|
|
* Creates list of users with given input array.
|
|
*
|
|
* @covers ::createUsersWithArrayInput
|
|
*/
|
|
public function testCreateUsersWithArrayInput()
|
|
{
|
|
}
|
|
|
|
/**
|
|
* Test case for createUsersWithListInput
|
|
*
|
|
* Creates list of users with given input array.
|
|
*
|
|
* @covers ::createUsersWithListInput
|
|
*/
|
|
public function testCreateUsersWithListInput()
|
|
{
|
|
}
|
|
|
|
/**
|
|
* Test case for deleteUser
|
|
*
|
|
* Delete user.
|
|
*
|
|
* @covers ::deleteUser
|
|
*/
|
|
public function testDeleteUser()
|
|
{
|
|
}
|
|
|
|
/**
|
|
* Test case for getUserByName
|
|
*
|
|
* Get user by user name.
|
|
*
|
|
* @covers ::getUserByName
|
|
*/
|
|
public function testGetUserByName()
|
|
{
|
|
}
|
|
|
|
/**
|
|
* Test case for loginUser
|
|
*
|
|
* Logs user into the system.
|
|
*
|
|
* @covers ::loginUser
|
|
*/
|
|
public function testLoginUser()
|
|
{
|
|
}
|
|
|
|
/**
|
|
* Test case for logoutUser
|
|
*
|
|
* Logs out current logged in user session.
|
|
*
|
|
* @covers ::logoutUser
|
|
*/
|
|
public function testLogoutUser()
|
|
{
|
|
}
|
|
|
|
/**
|
|
* Test case for updateUser
|
|
*
|
|
* Updated user.
|
|
*
|
|
* @covers ::updateUser
|
|
*/
|
|
public function testUpdateUser()
|
|
{
|
|
}
|
|
}
|