소스 검색

merged branch michal-pipa/test-fix (PR #3470)

Commits
-------

515b581 [FrameworkBundle] Fixed test

Discussion
----------

[FrameworkBundle] Fixed test on Ubuntu 10.04 LTS

Bug fix: yes
Feature addition: no
Backwards compatibility break: no
Symfony2 tests pass: [![Build Status](https://secure.travis-ci.org/michal-pipa/symfony.png?branch=test-fix)](http://travis-ci.org/michal-pipa/symfony)
Fixes the following tickets: -
Todo: -

Test was failing on Ubuntu 10.04 LTS because Ubuntu adds it's own PHP extra version number, which was greater than 5.3.2.

The same bug exist in master branch.
Fabien Potencier 13 년 전
부모
커밋
241e4fccbd
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      src/Symfony/Bundle/FrameworkBundle/Tests/HttpKernelTest.php

+ 2 - 2
src/Symfony/Bundle/FrameworkBundle/Tests/HttpKernelTest.php

@@ -169,8 +169,8 @@ class HttpKernelTest extends \PHPUnit_Framework_TestCase
 
     public function testExceptionInSubRequestsDoesNotMangleOutputBuffers()
     {
-        if (version_compare(phpversion(), "5.3.2", "<=")) {
-            $this->markTestSkipped('Test fails with PHP5.3.2 due to https://bugs.php.net/bug.php?id=50563');
+        if (version_compare(phpversion(), '5.3.3', '<')) {
+            $this->markTestSkipped('Test fails with PHP 5.3.2 due to https://bugs.php.net/bug.php?id=50563');
         }
 
         $request = new Request();