Merge pull request #9566 from owncloud/findAcceptedUser
[test-only] Find accepted user
This commit is contained in:
@@ -1246,13 +1246,13 @@ class FeatureContext extends BehatVariablesContext {
|
||||
}
|
||||
|
||||
/**
|
||||
* @param object $json
|
||||
* @param object|array $json
|
||||
* @param object $schema
|
||||
*
|
||||
* @return void
|
||||
* @throws Exception
|
||||
*/
|
||||
public function assertJsonDocumentMatchesSchema(object $json, object $schema): void {
|
||||
public function assertJsonDocumentMatchesSchema(object|array $json, object $schema): void {
|
||||
$schema = JsonSchema::import($schema);
|
||||
$this->validateSchemaRequirements($schema);
|
||||
$schema->in($json);
|
||||
|
||||
Reference in New Issue
Block a user