aboutsummaryrefslogtreecommitdiffstats
path: root/build/integration/features/bootstrap
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2023-09-27 16:38:21 +0200
committerJoas Schilling <coding@schilljs.com>2023-09-28 14:02:18 +0200
commita7018bc5e8f50f3242f3658c2442baa0dd4d1c65 (patch)
treee80c789c39cdac6f5c917e01ae0246d0ac924caf /build/integration/features/bootstrap
parent1a1514e29655e10b056cee79129b819fb1ebeeeb (diff)
downloadnextcloud-server-a7018bc5e8f50f3242f3658c2442baa0dd4d1c65.tar.gz
nextcloud-server-a7018bc5e8f50f3242f3658c2442baa0dd4d1c65.zip
fix(autocomplete): Fix missing user status on autocomplete endpoint
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'build/integration/features/bootstrap')
-rw-r--r--build/integration/features/bootstrap/CollaborationContext.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/build/integration/features/bootstrap/CollaborationContext.php b/build/integration/features/bootstrap/CollaborationContext.php
index adfc357b0e1..00fcbd09b26 100644
--- a/build/integration/features/bootstrap/CollaborationContext.php
+++ b/build/integration/features/bootstrap/CollaborationContext.php
@@ -73,6 +73,9 @@ class CollaborationContext implements Context {
if (isset($expected['source'])) {
$data['source'] = $suggestion['source'];
}
+ if (isset($expected['status'])) {
+ $data['status'] = json_encode($suggestion['status']);
+ }
return $data;
}, $suggestions, $formData->getHash()));
}