File: 0002-group-online-for-test-failing-without-network.patch

package info (click to toggle)
symfony 2.3.21%2Bdfsg-4
  • links: PTS, VCS
  • area: main
  • in suites: jessie-kfreebsd
  • size: 31,028 kB
  • sloc: php: 162,090; xml: 2,839; sh: 422; sql: 246; makefile: 78
file content (26 lines) | stat: -rw-r--r-- 1,043 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
From: Daniel Beyer <dabe@deb.ymc.ch>
Date: Fri, 19 Sep 2014 11:00:10 +0200
Subject: '@group online' for test failing without network

Forwarded: not-needed

>From https://wiki.debian.org/buildd:
"(...) most buildds will have no network access available. (...)"
---
 src/Symfony/Component/Filesystem/Tests/FilesystemTest.php | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/Symfony/Component/Filesystem/Tests/FilesystemTest.php b/src/Symfony/Component/Filesystem/Tests/FilesystemTest.php
index 76988d0..4c5a99d 100644
--- a/src/Symfony/Component/Filesystem/Tests/FilesystemTest.php
+++ b/src/Symfony/Component/Filesystem/Tests/FilesystemTest.php
@@ -167,6 +167,9 @@ class FilesystemTest extends \PHPUnit_Framework_TestCase
         $this->assertEquals('SOURCE FILE', file_get_contents($targetFilePath));
     }
 
+    /**
+     * @group online
+     */
     public function testCopyForOriginUrlsAndExistingLocalFileDefaultsToNotCopy()
     {
         $sourceFilePath = 'http://symfony.com/images/common/logo/logo_symfony_header.png';