From 9cfae2ed448dd3367a5e630b95feb5f53d46553c Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Fri, 28 Nov 2014 11:38:22 +0100 Subject: [PATCH] Skip lostcontroller sending email test on windows --- tests/core/lostpassword/controller/lostcontrollertest.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tests/core/lostpassword/controller/lostcontrollertest.php b/tests/core/lostpassword/controller/lostcontrollertest.php index 5da9e5ce48..2f2105b85e 100644 --- a/tests/core/lostpassword/controller/lostcontrollertest.php +++ b/tests/core/lostpassword/controller/lostcontrollertest.php @@ -102,6 +102,11 @@ class LostControllerTest extends \PHPUnit_Framework_TestCase { } public function testEmailSuccessful() { + if (\OC_Util::runningOnWindows()) { + // FIXME after OC_Mail refactor + $this->markTestSkipped('[Windows] sendmail is not supported on windows'); + } + $randomToken = $this->container['SecureRandom']; $this->container['SecureRandom'] ->expects($this->once())