mirror of
https://github.com/ambieco/scribe.git
synced 2026-05-08 23:09:39 +08:00
Added faker for better dummy data
This commit is contained in:
@@ -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'] );
|
||||
|
||||
Reference in New Issue
Block a user