diff options
author | Morris Jobke <hey@morrisjobke.de> | 2016-07-08 15:55:17 +0200 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2016-07-08 15:55:17 +0200 |
commit | c2d88a08b796ca19c8b5ec63bfd34ac32ead4208 (patch) | |
tree | f18e0ba4d05361456a6712378ccc0784620c1e9c /tests/lib/UtilTest.php | |
parent | 48f9e4ed03f3148d62919a95496ee43164d3e707 (diff) | |
download | nextcloud-server-c2d88a08b796ca19c8b5ec63bfd34ac32ead4208.tar.gz nextcloud-server-c2d88a08b796ca19c8b5ec63bfd34ac32ead4208.zip |
Remove unneeded checks if it runs on a Windows machine
* the setup check is still there
Diffstat (limited to 'tests/lib/UtilTest.php')
-rw-r--r-- | tests/lib/UtilTest.php | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/tests/lib/UtilTest.php b/tests/lib/UtilTest.php index 7da7db0291c..c68f8d00a40 100644 --- a/tests/lib/UtilTest.php +++ b/tests/lib/UtilTest.php @@ -396,10 +396,8 @@ class UtilTest extends \Test\TestCase { $this->assertNotEmpty($errors); \OCP\Files::rmdirr($dataDir); - if (!\OC_Util::runningOnWindows()) { - $errors = \OC_Util::checkDataDirectoryValidity('relative/path'); - $this->assertNotEmpty($errors); - } + $errors = \OC_Util::checkDataDirectoryValidity('relative/path'); + $this->assertNotEmpty($errors); } protected function setUp() { |