File tree Expand file tree Collapse file tree 2 files changed +2
-7
lines changed Expand file tree Collapse file tree 2 files changed +2
-7
lines changed Original file line number Diff line number Diff line change @@ -40,14 +40,13 @@ public function it_has_a_list_of_pets()
40
40
}
41
41
42
42
/** @test */
43
- public function if_pets_have_extra_appendages_openapi_cares ()
43
+ public function throws_exception_if_required_object_property_not_found ()
44
44
{
45
45
$ this ->expectExceptionMessage ('Response did not match provided JSON schema. ' );
46
46
47
47
$ this ->stub (PetsController::class, 'show ' , [
48
48
'id ' => 1 ,
49
- 'name ' => 'Cow ' ,
50
- 'legs ' => 10
49
+ // 'name' => 'Cow',
51
50
]);
52
51
53
52
$ this ->get ('api/pets/1 ' );
Original file line number Diff line number Diff line change @@ -100,10 +100,6 @@ components:
100
100
type : string
101
101
tag :
102
102
type : string
103
- legs :
104
- type : integer
105
- minimum : 0
106
- maximum : 4
107
103
Pets :
108
104
type : array
109
105
items :
You can’t perform that action at this time.
0 commit comments