Merge pull request #12489 from owncloud/skip-sendpassword-email-test-windows

Skip lostcontroller sending email test on windows
This commit is contained in:
Thomas Müller 2014-11-28 12:41:53 +01:00
commit 7c96cedd25
1 changed files with 5 additions and 0 deletions

View File

@ -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())