File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -210,14 +210,14 @@ public function testPathParametersAreArrays()
210210
211211 $ result = $ usersPath ->validate ();
212212 $ this ->assertTrue ($ result );
213- $ this ->assertIsArray ( $ usersPath ->parameters );
213+ $ this ->assertSame ( gettype ( $ usersPath ->parameters ), ' array ' );
214214 $ this ->assertInstanceOf (\cebe \openapi \spec \Parameter::class, $ usersPath ->parameters [0 ]);
215215 $ this ->assertInstanceOf (\cebe \openapi \spec \Parameter::class, $ usersPath ->parameters [1 ]);
216216 $ this ->assertEquals ('api-version ' , $ usersPath ->parameters [0 ]->name );
217217
218218 $ result = $ userIdPath ->validate ();
219219 $ this ->assertTrue ($ result );
220- $ this ->assertIsArray ( $ userIdPath ->parameters );
220+ $ this ->assertSame ( gettype ( $ userIdPath ->parameters ), ' array ' );
221221 $ this ->assertInstanceOf (\cebe \openapi \spec \Parameter::class, $ userIdPath ->parameters [0 ]);
222222 $ this ->assertInstanceOf (\cebe \openapi \spec \Parameter::class, $ userIdPath ->parameters [1 ]);
223223 $ this ->assertEquals ('id ' , $ userIdPath ->parameters [2 ]->name );
You can’t perform that action at this time.
0 commit comments