浏览代码

[AsseticBundle] fixed unit tests

Fabien Potencier 14 年之前
父节点
当前提交
d2840aaad3
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/Symfony/Bundle/AsseticBundle/Tests/DependencyInjection/AsseticExtensionTest.php

+ 1 - 1
src/Symfony/Bundle/AsseticBundle/Tests/DependencyInjection/AsseticExtensionTest.php

@@ -43,7 +43,7 @@ class AsseticExtensionTest extends \PHPUnit_Framework_TestCase
             $this->markTestSkipped('Assetic is not available.');
             $this->markTestSkipped('Assetic is not available.');
         }
         }
 
 
-        if (false === @include 'PHP/CodeSniffer.php') {
+        if (false === @include_once 'PHP/CodeSniffer.php') {
             $this->markTestSkipped('PHP_CodeSniffer is not installed.');
             $this->markTestSkipped('PHP_CodeSniffer is not installed.');
         }
         }