Skip to content

Commit

Permalink
Update namespace of "Assert" class
Browse files Browse the repository at this point in the history
  • Loading branch information
ackintosh committed Nov 19, 2018
1 parent 15e00ae commit 2fc6917
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
use OpenAPI\Client\Model\ApiResponse;
use OpenAPI\Client\Model\Pet;
use PHPUnit\Framework\TestCase;
use PHPUnit\Framework\Assert;

class PetApiTest extends TestCase
{
Expand Down Expand Up @@ -46,7 +47,7 @@ public static function setUpBeforeClass()

// add a new pet (model)
list(, $status) = $petApi->addPetWithHttpInfo($newPet);
\PHPUnit_Framework_Assert::assertEquals(200, $status);
Assert::assertEquals(200, $status);
}

public function setUp()
Expand Down

0 comments on commit 2fc6917

Please sign in to comment.