Skip to content

Commit

Permalink
Tests: fix fatal error in Utils\Callback
Browse files Browse the repository at this point in the history
Fatal error: Unpacking unsupported for calls to functions that take any arguments by reference in /home/travis/build/Kdyby/Doctrine/vendor/nette/utils/src/Utils/Callback.php on line 97
  • Loading branch information
fprochazka committed Apr 9, 2016
1 parent d7a71ad commit 9416fa4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/KdybyTests/Doctrine/Extension.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ class ExtensionTest extends Tester\TestCase

public function testProxyAutoloading()
{
$env = ['TEMP_DIR' => $scriptTempDir = TEMP_DIR . '/script'];
$env = $_ENV + ['TEMP_DIR' => $scriptTempDir = TEMP_DIR . '/script'];
Nette\Utils\FileSystem::createDir($scriptTempDir . '/cache');
Nette\Utils\FileSystem::createDir($scriptTempDir . '/sessions');

Expand Down

0 comments on commit 9416fa4

Please sign in to comment.