Skip to content

Commit 53c1a5f

Browse files
committed
minor symfony#28337 [Filesystem] Use the real image URL for tests (sroze)
This PR was merged into the 2.8 branch. Discussion ---------- [Filesystem] Use the real image URL for tests | Q | A | ------------- | --- | Branch? | master | Bug fix? | no | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | ? | Fixed tickets | ø | License | MIT | Doc PR | ø AppVeyor is always failing on this test. Trying with the real HTTPS url of the image to see if it's working or if it's something else. Commits ------- 886f739 Use the real image URL for the filesystem tests
2 parents fb9ccc0 + 886f739 commit 53c1a5f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/Filesystem/Tests/FilesystemTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ public function testCopyCreatesTargetDirectoryIfItDoesNotExist()
161161
*/
162162
public function testCopyForOriginUrlsAndExistingLocalFileDefaultsToCopy()
163163
{
164-
$sourceFilePath = 'http://symfony.com/images/common/logo/logo_symfony_header.png';
164+
$sourceFilePath = 'https://symfony.com/images/common/logo/logo_symfony_header.png';
165165
$targetFilePath = $this->workspace.\DIRECTORY_SEPARATOR.'copy_target_file';
166166

167167
file_put_contents($targetFilePath, 'TARGET FILE');

0 commit comments

Comments
 (0)