From 4d2bf412747cfd00a4512bfed0802a7107e18f84 Mon Sep 17 00:00:00 2001 From: Viktor Scharf Date: Wed, 29 Oct 2025 16:13:13 +0100 Subject: [PATCH] bump-version-2.0.5 (#1739) * bump-version-2.0.5 * fix tests * fix more tests --- pkg/version/version.go | 2 +- .../apiSharingNgShareInvitation/shareInvitations.feature | 9 +++++++++ .../accessToShare.feature | 6 ++++++ 3 files changed, 16 insertions(+), 1 deletion(-) diff --git a/pkg/version/version.go b/pkg/version/version.go index 9aefd6db96..48ea7681fc 100644 --- a/pkg/version/version.go +++ b/pkg/version/version.go @@ -16,7 +16,7 @@ var ( // LatestTag is the latest released version plus the dev meta version. // Will be overwritten by the release pipeline // Needs a manual change for every tagged release - LatestTag = "2.0.1+dev" + LatestTag = "2.0.5+dev" // Date indicates the build date. // This has been removed, it looks like you can only replace static strings with recent go versions diff --git a/tests/acceptance/features/apiSharingNgShareInvitation/shareInvitations.feature b/tests/acceptance/features/apiSharingNgShareInvitation/shareInvitations.feature index 2d033f9b42..4bfa85f6cf 100644 --- a/tests/acceptance/features/apiSharingNgShareInvitation/shareInvitations.feature +++ b/tests/acceptance/features/apiSharingNgShareInvitation/shareInvitations.feature @@ -23,6 +23,7 @@ Feature: Send a sharing invitations | shareType | user | | permissionsRole | | Then the HTTP status code should be "200" + And user "Brian" has a share "" synced And user "Brian" should have a share "" shared by user "Alice" from space "Personal" And the JSON data of the response should match """ @@ -113,7 +114,9 @@ Feature: Send a sharing invitations | shareType | group | | permissionsRole | | Then the HTTP status code should be "200" + And user "Brian" has a share "" synced And user "Brian" should have a share "" shared by user "Alice" from space "Personal" + And user "Carol" has a share "" synced And user "Carol" should have a share "" shared by user "Alice" from space "Personal" And the JSON data of the response should match """ @@ -1998,6 +2001,7 @@ Feature: Send a sharing invitations | shareType | user | | permissionsRole | | Then the HTTP status code should be "200" + And user "Brian" has a share "" synced And user "Brian" should have a share "" shared by user "Alice" from space "NewSpace" And the JSON data of the response should match """ @@ -2086,7 +2090,9 @@ Feature: Send a sharing invitations | shareType | group | | permissionsRole | | Then the HTTP status code should be "200" + And user "Brian" has a share "" synced And user "Brian" should have a share "" shared by user "Alice" from space "NewSpace" + And user "Carol" has a share "" synced And user "Carol" should have a share "" shared by user "Alice" from space "NewSpace" And the JSON data of the response should match """ @@ -3166,6 +3172,7 @@ Feature: Send a sharing invitations | shareType | user | | permissionsRole | Viewer | Then the HTTP status code should be "200" + And user "Brian" has a share "textfile.txt" synced And user "Brian" should have a share "textfile.txt" shared by user "Alice" from space "NewSpace" When user "Alice" sends the following resource share invitation using the Graph API: | resource | textfile.txt | @@ -3174,6 +3181,7 @@ Feature: Send a sharing invitations | shareType | group | | permissionsRole | Viewer | Then the HTTP status code should be "200" + And user "Carol" has a share "textfile.txt" synced And user "Carol" should have a share "textfile.txt" shared by user "Alice" from space "NewSpace" @@ -3193,4 +3201,5 @@ Feature: Send a sharing invitations | shareType | group | | permissionsRole | Viewer | Then the HTTP status code should be "200" + And user "Brian" has a share "textfile.txt" synced And user "Brian" should have a share "textfile.txt" shared by user "Alice" from space "NewSpace" diff --git a/tests/acceptance/features/coreApiShareOperationsToShares1/accessToShare.feature b/tests/acceptance/features/coreApiShareOperationsToShares1/accessToShare.feature index 89f03a38d7..c3fd59f740 100644 --- a/tests/acceptance/features/coreApiShareOperationsToShares1/accessToShare.feature +++ b/tests/acceptance/features/coreApiShareOperationsToShares1/accessToShare.feature @@ -21,6 +21,7 @@ Feature: sharing | shareType | user | | permissionsRole | Viewer | And using SharingNG + And user "Brian" has a share "textfile0.txt" synced When user "Brian" gets all the shares shared with him using the sharing API Then the OCS status code should be "" And the HTTP status code should be "200" @@ -47,6 +48,8 @@ Feature: sharing | shareType | user | | permissionsRole | Viewer | And using SharingNG + And user "Brian" has a share "textfile0.txt" synced + And user "Brian" has a share "textfile1.txt" synced When user "Brian" gets all the shares shared with him that are received as file "/Shares/textfile1.txt" using the provisioning API Then the OCS status code should be "" And the HTTP status code should be "200" @@ -73,6 +76,8 @@ Feature: sharing | shareType | user | | permissionsRole | Viewer | And using SharingNG + And user "Brian" has a share "textfile0.txt" synced + And user "Brian" has a share "textfile1.txt" synced When user "Brian" gets all the shares shared with him that are received as file "/Shares/textfile0.txt" using the provisioning API Then the OCS status code should be "" And the HTTP status code should be "200" @@ -94,6 +99,7 @@ Feature: sharing | shareType | group | | permissionsRole | Viewer | And using SharingNG + And user "Brian" has a share "textfile0.txt" synced When user "Brian" gets all the shares shared with him using the sharing API Then the OCS status code should be "" And the HTTP status code should be "200"