Skip to content

Commit 38484c9

Browse files
author
Ian Daszkowski
committed
MAGETWO-38383: Increase Unit Test Code Coverage
- Added an extra assertion - Removed test methods that were of no value
1 parent 207da59 commit 38484c9

File tree

1 file changed

+1
-27
lines changed

1 file changed

+1
-27
lines changed

setup/src/Magento/Setup/Test/Unit/Fixtures/FixtureModelTest.php

Lines changed: 1 addition & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -41,35 +41,9 @@ public function testReindex()
4141
$this->model->reindex($outputMock);
4242
}
4343

44-
public function testLoadFixtures()
45-
{
46-
// Necessary so that the FixtureModel has an ObjectManager instantiated otherwise this test fails.
47-
$this->model->getObjectManager();
48-
$this->model->loadFixtures();
49-
}
50-
51-
public function testGetParamLabels()
52-
{
53-
$this->assertSame([], $this->model->getParamLabels());
54-
}
55-
56-
public function testGetFixtures()
57-
{
58-
$this->assertSame([], $this->model->getFixtures());
59-
}
60-
61-
public function testInitObjectManager()
62-
{
63-
$this->assertSame($this->model, $this->model->initObjectManager());
64-
}
65-
66-
public function testResetObjectManager()
67-
{
68-
$this->assertSame($this->model, $this->model->resetObjectManager());
69-
}
70-
7144
/**
7245
* @expectedException \Exception
46+
* @expectedExceptionMessage Profile configuration file `exception.file` is not readable or does not exists.
7347
*/
7448
public function testLoadConfigException()
7549
{

0 commit comments

Comments
 (0)