Fixed 'accepted' validation rule, to show as required

This commit is contained in:
Marcel Pociot
2016-05-12 17:28:09 +02:00
parent 5ef727ea8c
commit 0aeacb5f0f
2 changed files with 2 additions and 1 deletions

View File

@@ -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;