Skip to content

Commit

Permalink
Fixed tests for Nette 2.0.*
Browse files Browse the repository at this point in the history
  • Loading branch information
fprochazka committed Dec 29, 2013
1 parent aa922bb commit 93324b6
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions tests/Nette/ExtensionTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,13 @@

use Nette\Utils\Finder;

if (!class_exists('Nette\DI\CompilerExtension')) {
class_alias('Nette\Config\CompilerExtension', 'Nette\DI\CompilerExtension');
class_alias('Nette\Config\Compiler', 'Nette\DI\Compiler');
class_alias('Nette\Config\Helpers', 'Nette\DI\Config\Helpers');
class_alias('Nette\Config\Configurator', 'Nette\Configurator');
}

class ExtensionTest extends \PHPUnit_Framework_TestCase
{

Expand Down

0 comments on commit 93324b6

Please sign in to comment.