Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[PHP] Cleanup test #7673

Merged
merged 3 commits into from
Feb 22, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
* OpenAPI spec version: 1.0.0
* Contact: apiteam@swagger.io
* Generated by: https://github.com/swagger-api/swagger-codegen.git
*
* Swagger Codegen version: 2.4.0-SNAPSHOT
*/

/**
Expand Down
105 changes: 77 additions & 28 deletions samples/client/petstore/php/SwaggerClient-php/test/Api/FakeApiTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,31 +5,19 @@
*
* @category Class
* @package Swagger\Client
* @author http://github.com/swagger-api/swagger-codegen
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache License v2
* @author Swagger Codegen team
* @link https://github.com/swagger-api/swagger-codegen
*/

/**
* Swagger Petstore =end
* Swagger 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: \" \\ =end
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
*
* OpenAPI spec version: 1.0.0 =end
* Contact: apiteam@swagger.io =end
* OpenAPI spec version: 1.0.0
* Contact: apiteam@swagger.io
* Generated by: https://github.com/swagger-api/swagger-codegen.git
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
* Swagger Codegen version: 2.4.0-SNAPSHOT
*/

/**
Expand All @@ -41,7 +29,6 @@
namespace Swagger\Client;

use \Swagger\Client\Configuration;
use \Swagger\Client\ApiClient;
use \Swagger\Client\ApiException;
use \Swagger\Client\ObjectSerializer;

Expand All @@ -50,8 +37,7 @@
*
* @category Class
* @package Swagger\Client
* @author http://github.com/swagger-api/swagger-codegen
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache License v2
* @author Swagger Codegen team
* @link https://github.com/swagger-api/swagger-codegen
*/
class FakeApiTest extends \PHPUnit_Framework_TestCase
Expand All @@ -62,31 +48,77 @@ class FakeApiTest extends \PHPUnit_Framework_TestCase
*/
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 fakeOuterBooleanSerialize
*
* .
*
*/
public function testFakeOuterBooleanSerialize()
{
}

/**
* Test case for fakeOuterCompositeSerialize
*
* .
*
*/
public function testFakeOuterCompositeSerialize()
{
}

/**
* Test case for fakeOuterNumberSerialize
*
* .
*
*/
public function testFakeOuterNumberSerialize()
{
}

/**
* Test case for fakeOuterStringSerialize
*
* .
*
*/
public function testFakeOuterStringSerialize()
{
}

/**
* Test case for testClientModel
*
* To test \"client\" model.
*
*/
public function testTestClientModel()
{
}

/**
Expand All @@ -97,18 +129,35 @@ public static function tearDownAfterClass()
*/
public function testTestEndpointParameters()
{

}

/**
* Test case for testEnumQueryParameters
* Test case for testEnumParameters
*
* To test enum query parameters.
* To test enum parameters.
*
*/
public function testTestEnumQueryParameters()
public function testTestEnumParameters()
{
}

/**
* Test case for testInlineAdditionalProperties
*
* test inline additionalProperties.
*
*/
public function testTestInlineAdditionalProperties()
{
}

/**
* Test case for testJsonFormData
*
* test json serialization of form data.
*
*/
public function testTestJsonFormData()
{
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
* OpenAPI spec version: 1.0.0
* Contact: apiteam@swagger.io
* Generated by: https://github.com/swagger-api/swagger-codegen.git
*
* Swagger Codegen version: 2.4.0-SNAPSHOT
*/

/**
Expand Down

This file was deleted.

Loading