aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--build/integration/features/bootstrap/Activity.php2
-rw-r--r--build/integration/sharing_features/sharing-activity.feature2
2 files changed, 3 insertions, 1 deletions
diff --git a/build/integration/features/bootstrap/Activity.php b/build/integration/features/bootstrap/Activity.php
index 466b2dde14e..4172776304d 100644
--- a/build/integration/features/bootstrap/Activity.php
+++ b/build/integration/features/bootstrap/Activity.php
@@ -22,6 +22,8 @@ trait Activity {
$this->theHTTPStatusCodeShouldBe('200');
$data = json_decode($this->response->getBody()->getContents(), true);
$activities = $data['ocs']['data'];
+ /* Sort by id */
+ uasort($activities, fn ($a, $b) => $a['activity_id'] <=> $b['activity_id']);
$lastActivity = array_pop($activities);
foreach ($activity->getRowsHash() as $key => $value) {
Assert::assertEquals($value, $lastActivity[$key]);
diff --git a/build/integration/sharing_features/sharing-activity.feature b/build/integration/sharing_features/sharing-activity.feature
index 5757b210134..016b376488b 100644
--- a/build/integration/sharing_features/sharing-activity.feature
+++ b/build/integration/sharing_features/sharing-activity.feature
@@ -10,7 +10,7 @@ Feature: sharing
And Logging in using web as "user0"
And Sending a "POST" to "/apps/activity/settings" with requesttoken
| public_links_notification | 1 |
- | public_links_upload_email | 1 |
+ | public_links_upload_notification | 1 |
| notify_setting_batchtime | 0 |
| activity_digest | 0 |