Skip to content

Commit

Permalink
DisableOriginalConstructor on KernelHelper Mock
Browse files Browse the repository at this point in the history
  • Loading branch information
jmolivas committed Sep 6, 2014
1 parent 6595ab0 commit 47671d8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Tests/Console/ApplicationTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ protected function setUp()
$this->drupalBootstrap = $this->getMockBuilder('Drupal\AppConsole\Command\Helper\DrupalBootstrapHelper')
->getMock();
$this->kernel = $this->getMockBuilder('Drupal\AppConsole\Command\Helper\KernelHelper')
->disableOriginalConstructor()
->getMock();
$this->eventDispatcher = $this->getMockBuilder('Symfony\Component\EventDispatcher\EventDispatcher')
->getMock();
Expand Down

0 comments on commit 47671d8

Please sign in to comment.