summaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/tests
diff options
context:
space:
mode:
authorBjörn Schießle <bjoern@schiessle.org>2013-10-11 01:48:02 -0700
committerBjörn Schießle <bjoern@schiessle.org>2013-10-11 01:48:02 -0700
commit4336d42ab095c304d0a46bb30c2d0203e606597e (patch)
tree2041ab6d89f4a9e29cb8d3cc815a0607df3a9ce3 /apps/files_sharing/tests
parent44a5b0bad0e0dbcb0c11de663897ace69b4fd776 (diff)
parent909af2b62e75d1a5db866466074f2bcb95b864dc (diff)
downloadnextcloud-server-4336d42ab095c304d0a46bb30c2d0203e606597e.tar.gz
nextcloud-server-4336d42ab095c304d0a46bb30c2d0203e606597e.zip
Merge pull request #5233 from owncloud/enc_filter_users
only encrypt file to users with encryption keys
Diffstat (limited to 'apps/files_sharing/tests')
-rw-r--r--apps/files_sharing/tests/api.php7
1 files changed, 4 insertions, 3 deletions
diff --git a/apps/files_sharing/tests/api.php b/apps/files_sharing/tests/api.php
index 63df0dd7dc3..9452dd37707 100644
--- a/apps/files_sharing/tests/api.php
+++ b/apps/files_sharing/tests/api.php
@@ -58,6 +58,10 @@ class Test_Files_Sharing_Api extends \PHPUnit_Framework_TestCase {
}
function setUp() {
+
+ //login as user1
+ \Test_Files_Sharing_Api::loginHelper(\Test_Files_Sharing_Api::TEST_FILES_SHARING_API_USER1);
+
$this->data = 'foobar';
$this->view = new \OC_FilesystemView('/' . \Test_Files_Sharing_Api::TEST_FILES_SHARING_API_USER1 . '/files');
@@ -104,9 +108,6 @@ class Test_Files_Sharing_Api extends \PHPUnit_Framework_TestCase {
*/
function testCreateShare() {
- //login as user1
- \Test_Files_Sharing_Api::loginHelper(\Test_Files_Sharing_Api::TEST_FILES_SHARING_API_USER1);
-
// share to user
// simulate a post request