Skip to content

Commit 4b146f0

Browse files
Merge branch '4.1'
* 4.1: Fix appveyor
2 parents 795f688 + 09513e5 commit 4b146f0

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Tests/FilesystemTest.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,9 @@ public function testCopyCreatesTargetDirectoryIfItDoesNotExist()
161161
*/
162162
public function testCopyForOriginUrlsAndExistingLocalFileDefaultsToCopy()
163163
{
164+
if (!in_array('https', stream_get_wrappers())) {
165+
$this->markTestSkipped('"https" stream wrapper is not enabled.');
166+
}
164167
$sourceFilePath = 'https://symfony.com/images/common/logo/logo_symfony_header.png';
165168
$targetFilePath = $this->workspace.\DIRECTORY_SEPARATOR.'copy_target_file';
166169

0 commit comments

Comments
 (0)