fix test
This commit is contained in:
@@ -540,6 +540,47 @@ Feature: check share activity
|
|||||||
"properties": {
|
"properties": {
|
||||||
"message": {
|
"message": {
|
||||||
"const": "{user} added {resource} to {space}"
|
"const": "{user} added {resource} to {space}"
|
||||||
|
},
|
||||||
|
"variables": {
|
||||||
|
"type": "object",
|
||||||
|
"required": ["resource","space","user"],
|
||||||
|
"properties": {
|
||||||
|
"resource": {
|
||||||
|
"type": "object",
|
||||||
|
"required": ["id","name"],
|
||||||
|
"properties": {
|
||||||
|
"name": {
|
||||||
|
"const": "FOLDER"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"space": {
|
||||||
|
"type": "object",
|
||||||
|
"required": ["id","name"],
|
||||||
|
"properties": {
|
||||||
|
"id": {
|
||||||
|
"type": "string",
|
||||||
|
"pattern": "^%user_id_pattern%!%user_id_pattern%$"
|
||||||
|
},
|
||||||
|
"name": {
|
||||||
|
"const": "Alice Hansen"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"user": {
|
||||||
|
"type": "object",
|
||||||
|
"required": ["id","displayName"],
|
||||||
|
"properties": {
|
||||||
|
"id": {
|
||||||
|
"type": "string",
|
||||||
|
"pattern": "%user_id_pattern%"
|
||||||
|
},
|
||||||
|
"displayName": {
|
||||||
|
"const": "Alice"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -598,7 +639,7 @@ Feature: check share activity
|
|||||||
"properties": {
|
"properties": {
|
||||||
"id": {
|
"id": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"pattern": "^%user_id_pattern%!%user_id_pattern%$"
|
"pattern": "^%file_id_pattern%$"
|
||||||
},
|
},
|
||||||
"name": {
|
"name": {
|
||||||
"const": "Alice Hansen"
|
"const": "Alice Hansen"
|
||||||
@@ -658,7 +699,7 @@ Feature: check share activity
|
|||||||
"properties": {
|
"properties": {
|
||||||
"id": {
|
"id": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"pattern": "^%user_id_pattern%!%user_id_pattern%$"
|
"pattern": "^%file_id_pattern%$"
|
||||||
},
|
},
|
||||||
"name": {
|
"name": {
|
||||||
"const": "Alice Hansen"
|
"const": "Alice Hansen"
|
||||||
|
|||||||
Reference in New Issue
Block a user