[tests-only][full-ci]Forwardport json drill apispacesshares (#5965)

* Replace the key and value paris step with the current json assertion step

* Fix red CI for undefined step

---------

Co-authored-by: sagargurung1001@gmail.com <sagargurung1001@gmail.com>
This commit is contained in:
Prajwol Amatya
2023-04-03 09:46:01 +05:45
committed by GitHub
parent 12d67440b8
commit 16f8c49de9
4 changed files with 194 additions and 35 deletions
+7
View File
@@ -54,6 +54,13 @@ class GraphHelper {
return (bool)preg_match($regex, $spaceId);
}
/**
* @return string
*/
public static function getSpaceIdRegex(): string {
return self::getUUIDv4Regex() . '\\\$' . self::getUUIDv4Regex();
}
/**
* Key name can consist of @@@
* This function separate such key and return its actual value from actual drive response which can be used for assertion