]> source.dussan.org Git - nextcloud-server.git/commitdiff
enable more tests
authorBjoern Schiessle <schiessle@owncloud.com>
Wed, 4 Dec 2013 16:43:38 +0000 (17:43 +0100)
committerBjoern Schiessle <schiessle@owncloud.com>
Wed, 4 Dec 2013 16:43:38 +0000 (17:43 +0100)
apps/files_encryption/tests/share.php

index 6a29d2428dc0e6b5c9a39c8f985ea985b2f06c78..1d852d3c8cc0d3c35d198921533133f1750cd660 100755 (executable)
@@ -649,9 +649,7 @@ class Test_Encryption_Share extends \PHPUnit_Framework_TestCase {
         * @large
         */
        function testRecoveryFile() {
-               $this->markTestIncomplete(
-                               'No idea what\'s wrong here, this works perfectly in real-world. removeRecoveryKeys(\'/\') L709 removes correctly the keys, but for some reasons afterwards also the top-level folder "share-keys" is gone...'
-                               );
+
                // login as admin
                \Test_Encryption_Util::loginHelper(\Test_Encryption_Share::TEST_ENCRYPTION_SHARE_USER1);
 
@@ -754,9 +752,7 @@ class Test_Encryption_Share extends \PHPUnit_Framework_TestCase {
         * @large
         */
        function testRecoveryForUser() {
-               $this->markTestIncomplete(
-                               'This test drives Jenkins crazy - "Cannot modify header information - headers already sent" - line 811'
-               );
+
                // login as admin
                \Test_Encryption_Util::loginHelper(\Test_Encryption_Share::TEST_ENCRYPTION_SHARE_USER1);
 
@@ -889,8 +885,8 @@ class Test_Encryption_Share extends \PHPUnit_Framework_TestCase {
                } catch (Exception $e) {
                        $this->assertEquals(0, strpos($e->getMessage(), "Following users are not set up for encryption"));
                }
-               
-               
+
+
                // login as admin
                \Test_Encryption_Util::loginHelper(\Test_Encryption_Share::TEST_ENCRYPTION_SHARE_USER1);