mirror of
https://github.com/ambieco/scribe.git
synced 2026-04-24 10:44:55 +08:00
Fixed 'accepted' validation rule, to show as required
This commit is contained in:
@@ -79,7 +79,7 @@ class ApiDocGeneratorTest extends Orchestra\Testbench\TestCase
|
||||
|
||||
|
||||
case 'accepted':
|
||||
$this->assertFalse( $attribute['required'] );
|
||||
$this->assertTrue( $attribute['required'] );
|
||||
$this->assertEquals( 'boolean', $attribute['type'] );
|
||||
$this->assertCount( 0, $attribute['description'] );
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user