diff options
author | Lukas Reschke <lukas@owncloud.com> | 2015-10-13 16:41:58 +0200 |
---|---|---|
committer | Lukas Reschke <lukas@owncloud.com> | 2015-10-13 16:45:16 +0200 |
commit | 5d53fb4bc863077f2c62054d48bc92a18f458042 (patch) | |
tree | a3b8b7ed24245ae2b1098cc8ad61ccc82efb4aad /tests | |
parent | 77ad9e98a93e0d5c77dae5443e4b92cfd2458ef0 (diff) | |
download | nextcloud-server-5d53fb4bc863077f2c62054d48bc92a18f458042.tar.gz nextcloud-server-5d53fb4bc863077f2c62054d48bc92a18f458042.zip |
Reference v2 in the provider list
Diffstat (limited to 'tests')
-rw-r--r-- | tests/ocs-provider/provider.php | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/tests/ocs-provider/provider.php b/tests/ocs-provider/provider.php index 34bd6067588..07d66b36258 100644 --- a/tests/ocs-provider/provider.php +++ b/tests/ocs-provider/provider.php @@ -60,9 +60,9 @@ class OcsProviderTest extends \Test\TestCase { 'PRIVATE_DATA' => [ 'version' => 1, 'endpoints' => [ - 'store' => '/ocs/v1.php/privatedata/setattribute', - 'read' => '/ocs/v1.php/privatedata/getattribute', - 'delete' => '/ocs/v1.php/privatedata/deleteattribute', + 'store' => '/ocs/v2.php/privatedata/setattribute', + 'read' => '/ocs/v2.php/privatedata/getattribute', + 'delete' => '/ocs/v2.php/privatedata/deleteattribute', ], ], ] @@ -94,22 +94,22 @@ class OcsProviderTest extends \Test\TestCase { 'PRIVATE_DATA' => [ 'version' => 1, 'endpoints' => [ - 'store' => '/ocs/v1.php/privatedata/setattribute', - 'read' => '/ocs/v1.php/privatedata/getattribute', - 'delete' => '/ocs/v1.php/privatedata/deleteattribute', + 'store' => '/ocs/v2.php/privatedata/setattribute', + 'read' => '/ocs/v2.php/privatedata/getattribute', + 'delete' => '/ocs/v2.php/privatedata/deleteattribute', ], ], 'FEDERATED_SHARING' => [ 'version' => 1, 'endpoints' => [ - 'share' => '/ocs/v1.php/cloud/shares', + 'share' => '/ocs/v2.php/cloud/shares', 'webdav' => '/public.php/webdav/', ], ], 'SHARING' => [ 'version' => 1, 'endpoints' => [ - 'share' => '/ocs/v1.php/apps/files_sharing/api/v1/shares', + 'share' => '/ocs/v2.php/apps/files_sharing/api/v1/shares', ], ], ] @@ -130,36 +130,36 @@ class OcsProviderTest extends \Test\TestCase { 'PRIVATE_DATA' => [ 'version' => 1, 'endpoints' => [ - 'store' => '/ocs/v1.php/privatedata/setattribute', - 'read' => '/ocs/v1.php/privatedata/getattribute', - 'delete' => '/ocs/v1.php/privatedata/deleteattribute', + 'store' => '/ocs/v2.php/privatedata/setattribute', + 'read' => '/ocs/v2.php/privatedata/getattribute', + 'delete' => '/ocs/v2.php/privatedata/deleteattribute', ], ], 'FEDERATED_SHARING' => [ 'version' => 1, 'endpoints' => [ - 'share' => '/ocs/v1.php/cloud/shares', + 'share' => '/ocs/v2.php/cloud/shares', 'webdav' => '/public.php/webdav/', ], ], 'SHARING' => [ 'version' => 1, 'endpoints' => [ - 'share' => '/ocs/v1.php/apps/files_sharing/api/v1/shares', + 'share' => '/ocs/v2.php/apps/files_sharing/api/v1/shares', ], ], 'ACTIVITY' => [ 'version' => 1, 'endpoints' => [ - 'list' => '/ocs/v1.php/cloud/activity', + 'list' => '/ocs/v2.php/cloud/activity', ], ], 'PROVISIONING' => [ 'version' => 1, 'endpoints' => [ - 'user' => '/ocs/v1.php/cloud/users', - 'groups' => '/ocs/v1.php/cloud/groups', - 'apps' => '/ocs/v1.php/cloud/apps', + 'user' => '/ocs/v2.php/cloud/users', + 'groups' => '/ocs/v2.php/cloud/groups', + 'apps' => '/ocs/v2.php/cloud/apps', ], ], ] |