Skip to content
This repository was archived by the owner on Sep 10, 2021. It is now read-only.

Commit 56d461e

Browse files
author
Michael Grauer
committed
BUG: Refs #212. Took out a case in testMkdir for kwutils.
The part of the test relied on assumptions about file permissions that have proven too fragile to move across machines.
1 parent 008abb6 commit 56d461e

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

tests/library/KWUtilsTest.php

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,7 @@ protected function getTempDirectory()
3535
/** tests mkDir function */
3636
public function testMkDir()
3737
{
38-
$tmpDir = $this->getTempDirectory() . '/';
39-
// try creating one that exists
40-
// we can ignore any errors
41-
$this->assertFalse(KWUtils::mkDir($tmpDir));
42-
$tmpDir .= "KWUtilsTest";
38+
$tmpDir = $this->getTempDirectory() . '/KWUtilsTest';
4339
$this->assertTrue(KWUtils::mkDir($tmpDir));
4440
// now clean up
4541
rmdir($tmpDir);

0 commit comments

Comments
 (0)