Skip to content

Commit 09513e5

Browse files
Merge branch '3.4' into 4.1
* 3.4: Fix appveyor
2 parents 80f9dd2 + 81d3c01 commit 09513e5

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)