Skip to content

Commit

Permalink
Revert "Allow loadFixtures() without arguments (#310)"
Browse files Browse the repository at this point in the history
This reverts commit be78ee4.
  • Loading branch information
alexislefebvre authored Mar 23, 2017
1 parent be78ee4 commit 537f220
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 11 deletions.
2 changes: 1 addition & 1 deletion Test/WebTestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,7 @@ protected function isBackupUpToDate(array $classNames, $backup)
*
* @return null|AbstractExecutor
*/
protected function loadFixtures(array $classNames = [], $omName = null, $registryName = 'doctrine', $purgeMode = null)
protected function loadFixtures(array $classNames, $omName = null, $registryName = 'doctrine', $purgeMode = null)
{
$container = $this->getContainer();
/** @var ManagerRegistry $registry */
Expand Down
10 changes: 0 additions & 10 deletions Tests/Test/WebTestCaseTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -280,16 +280,6 @@ public function testLoadEmptyFixtures()
);
}

public function testLoadFixturesWithoutParameters()
{
$fixtures = $this->loadFixtures();

$this->assertInstanceOf(
'Doctrine\Common\DataFixtures\Executor\ORMExecutor',
$fixtures
);
}

public function testLoadFixtures()
{
$fixtures = $this->loadFixtures(array(
Expand Down

0 comments on commit 537f220

Please sign in to comment.