mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2025-12-11 13:02:48 +00:00
add enum number support to php
This commit is contained in:
@@ -12,6 +12,13 @@ class OrderApiTest extends \PHPUnit_Framework_TestCase
|
||||
//error_reporting(~0);
|
||||
}
|
||||
|
||||
// test get inventory
|
||||
public function testOrderEnum()
|
||||
{
|
||||
$this->assertSame(Swagger\Client\Model\Order::STATUS_PLACED, "placed");
|
||||
$this->assertSame(Swagger\Client\Model\Order::STATUS_APPROVED, "approved");
|
||||
}
|
||||
|
||||
// test get inventory
|
||||
public function testOrder()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user