Added faker for better dummy data

This commit is contained in:
Marcel Pociot
2016-05-12 21:11:35 +02:00
parent 0aeacb5f0f
commit 627fc8d22a
4 changed files with 30 additions and 6 deletions

View File

@@ -76,14 +76,11 @@ class ApiDocGeneratorTest extends Orchestra\Testbench\TestCase
$this->assertEquals( 'string', $attribute['type'] );
$this->assertCount( 0, $attribute['description'] );
break;
case 'accepted':
$this->assertTrue( $attribute['required'] );
$this->assertEquals( 'boolean', $attribute['type'] );
$this->assertCount( 0, $attribute['description'] );
break;
case 'active_url':
$this->assertFalse( $attribute['required'] );
$this->assertEquals( 'url', $attribute['type'] );