[tests-only]test: add test for shared with me (#8010)
* test: add test for shared with me * test: add test for shared with me shared file * add missing field and add test to expected to fail * address review * test: move file * tests: make differente funtion for regex fileid pattern matching
This commit is contained in:
@@ -2799,6 +2799,30 @@ class FeatureContext extends BehatVariablesContext {
|
||||
"getPermissionsIdRegex"
|
||||
],
|
||||
"parameter" => []
|
||||
],
|
||||
[
|
||||
"code" => "%file_id_pattern%",
|
||||
"function" => [
|
||||
__NAMESPACE__ . '\TestHelpers\GraphHelper',
|
||||
"getFileIdRegex"
|
||||
],
|
||||
"parameter" => []
|
||||
],
|
||||
[
|
||||
"code" => "%share_id_pattern%",
|
||||
"function" => [
|
||||
__NAMESPACE__ . '\TestHelpers\GraphHelper',
|
||||
"getShareIdRegex"
|
||||
],
|
||||
"parameter" => []
|
||||
],
|
||||
[
|
||||
"code" => "%eTag%",
|
||||
"function" => [
|
||||
__NAMESPACE__ . '\TestHelpers\GraphHelper',
|
||||
"getEtagRegex"
|
||||
],
|
||||
"parameter" => []
|
||||
]
|
||||
];
|
||||
if ($user !== null) {
|
||||
|
||||
Reference in New Issue
Block a user