Skip lostcontroller sending email test on windows

This commit is contained in:
Joas Schilling 2014-11-28 11:38:22 +01:00
parent 154628daf4
commit 9cfae2ed44
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())