We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c0e903e commit 85aedf1Copy full SHA for 85aedf1
Tests/Store/FlockStoreTest.php
@@ -56,11 +56,10 @@ public function testConstructWhenRepositoryIsNotWriteable()
56
57
public function testConstructWithSubdir()
58
{
59
- if (!getenv('USER') || 'root' === getenv('USER')) {
60
- $this->markTestSkipped('This test will fail if run under superuser');
61
- }
62
-
63
- new FlockStore(sys_get_temp_dir().'/sf-flock');
+ new FlockStore($dir = (sys_get_temp_dir().'/sf-flock'));
+ $this->assertDirectoryExists($dir);
+ // cleanup
+ @rmdir($dir);
64
}
65
66
public function testSaveSanitizeName()
0 commit comments