diff --git a/tests/core/lostpassword/controller/lostcontrollertest.php b/tests/core/lostpassword/controller/lostcontrollertest.php
index 5da9e5ce48d5e4c707267bb42a12744bf352f078..2f2105b85e84fdc3cf55495e2c024ab9299a2a80 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())