Skip to content

Commit

Permalink
Enable TypeHintsTest
Browse files Browse the repository at this point in the history
  • Loading branch information
sergeyklay committed Nov 15, 2018
1 parent 5709505 commit ee79552
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions unit-tests/Zephir/Test/TypeHintsTest.php
Expand Up @@ -12,7 +12,6 @@
namespace Zephir\Test;

use Zephir\Application;
use Zephir\Commands\CommandGenerate;
use Zephir\Compiler;
use Zephir\Di\Singleton;
use Zephir\Support\TestCase;
Expand Down Expand Up @@ -60,7 +59,6 @@ public function tearDown()

protected function generate($backend)
{
$this->markTestSkipped();
chdir(ZEPHIRPATH . '/unit-tests/fixtures/typehints');

try {
Expand All @@ -72,7 +70,7 @@ protected function generate($backend)
/** @var Compiler $compiler */
$compiler = $container->get(Compiler::class);

// $compiler->generate(new CommandGenerate($container->get(Manager::class)));
$compiler->generate(true);
} catch (\Exception $e) {
$this->fail($e->getMessage());
}
Expand Down

0 comments on commit ee79552

Please sign in to comment.