]> source.dussan.org Git - nextcloud-server.git/commitdiff
Backport #12181
authorLukas Reschke <lukas@owncloud.com>
Mon, 17 Nov 2014 11:48:13 +0000 (12:48 +0100)
committerLukas Reschke <lukas@owncloud.com>
Mon, 17 Nov 2014 11:48:13 +0000 (12:48 +0100)
This should fix the stable7 unit tests again since the last CI update.

tests/settings/controller/mailsettingscontrollertest.php

index 5a1add95449fd965c6565b12d41121989efa28e3..5479e58d85165ff124d7565e7e4765468de51958 100644 (file)
@@ -147,6 +147,11 @@ class MailSettingscontrollerTest extends \PHPUnit_Framework_TestCase {
        }
 
        public function testSendTestMail() {
+               /**
+                * FIXME: Disabled due to missing DI on mail class. 
+                * TODO: Re-enable when https://github.com/owncloud/core/pull/12085 is merged.
+                */
+               $this->markTestSkipped('Disable test until OC_Mail is rewritten.');
                $user = $this->getMockBuilder('\OC\User\User')
                        ->disableOriginalConstructor()
                        ->getMock();
@@ -193,4 +198,4 @@ class MailSettingscontrollerTest extends \PHPUnit_Framework_TestCase {
                $this->assertSame($expectedResponse, $response);
        }
 
-}
\ No newline at end of file
+}