Skip to content

Commit

Permalink
[Debug] Fixed ClassNotFoundFatalErrorHandlerTest
Browse files Browse the repository at this point in the history
  • Loading branch information
xelaris committed May 8, 2015
1 parent 54311da commit f7def8c
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
Expand Up @@ -181,11 +181,11 @@ function ($className) { /* do nothing here */ },

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');
}

require_once __DIR__.'/../FIXTURES/REQUIREDTWICE.PHP';
require_once __DIR__.'/../FIXTURES2/REQUIREDTWICE.PHP';

$error = array(
'type' => 1,
Expand Down
7 changes: 0 additions & 7 deletions src/Symfony/Component/Debug/Tests/Fixtures/RequiredTwice.php

This file was deleted.

7 changes: 7 additions & 0 deletions src/Symfony/Component/Debug/Tests/Fixtures2/RequiredTwice.php
@@ -0,0 +1,7 @@
<?php

namespace Symfony\Component\Debug\Tests\Fixtures2;

class RequiredTwice
{
}

0 comments on commit f7def8c

Please sign in to comment.