Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit e74a7f2

Browse filesBrowse files
committed
Fix CI
1 parent a0bbf53 commit e74a7f2
Copy full SHA for e74a7f2

File tree

1 file changed

+4
-5
lines changed
Filter options

1 file changed

+4
-5
lines changed

‎src/Symfony/Component/Lock/Tests/Store/FlockStoreTest.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Lock/Tests/Store/FlockStoreTest.php
+4-5Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -56,11 +56,10 @@ public function testConstructWhenRepositoryIsNotWriteable()
5656

5757
public function testConstructWithSubdir()
5858
{
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');
59+
new FlockStore($dir = (sys_get_temp_dir().'/sf-flock'));
60+
$this->assertDirectoryExists($dir);
61+
// cleanup
62+
@rmdir($dir);
6463
}
6564

6665
public function testSaveSanitizeName()

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.