[Debug] Fixed ClassNotFoundFatalErrorHandlerTest
This commit is contained in:
parent
54311dafae
commit
f7def8c1d1
@ -181,11 +181,11 @@ class ClassNotFoundFatalErrorHandlerTest extends \PHPUnit_Framework_TestCase
|
|||||||
|
|
||||||
public function testCannotRedeclareClass()
|
public function testCannotRedeclareClass()
|
||||||
{
|
{
|
||||||
if (!file_exists(__DIR__.'/../FIXTURES/REQUIREDTWICE.PHP')) {
|
if (!file_exists(__DIR__.'/../FIXTURES2/REQUIREDTWICE.PHP')) {
|
||||||
$this->markTestSkipped('Can only be run on case insensitive filesystems');
|
$this->markTestSkipped('Can only be run on case insensitive filesystems');
|
||||||
}
|
}
|
||||||
|
|
||||||
require_once __DIR__.'/../FIXTURES/REQUIREDTWICE.PHP';
|
require_once __DIR__.'/../FIXTURES2/REQUIREDTWICE.PHP';
|
||||||
|
|
||||||
$error = array(
|
$error = array(
|
||||||
'type' => 1,
|
'type' => 1,
|
||||||
|
@ -1,7 +0,0 @@
|
|||||||
<?php
|
|
||||||
|
|
||||||
namespace Symfony\Component\Debug\Tests\Fixtures;
|
|
||||||
|
|
||||||
class RequiredTwice
|
|
||||||
{
|
|
||||||
}
|
|
@ -0,0 +1,7 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
namespace Symfony\Component\Debug\Tests\Fixtures2;
|
||||||
|
|
||||||
|
class RequiredTwice
|
||||||
|
{
|
||||||
|
}
|
Reference in New Issue
Block a user