Skip to content

Commit 24d7d4a

Browse files
committed
Fix indentation
1 parent 8141f17 commit 24d7d4a

File tree

1 file changed

+32
-32
lines changed

1 file changed

+32
-32
lines changed

dev/tests/integration/testsuite/Magento/NewRelicReporting/Plugin/SeparateAppsTest.php

Lines changed: 32 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -12,36 +12,36 @@
1212

1313
class SeparateAppsTest extends \PHPUnit\Framework\TestCase
1414
{
15-
/**
16-
* @var ObjectManager
17-
*/
18-
private $objectManager;
19-
20-
protected function setUp()
21-
{
22-
$this->objectManager = Bootstrap::getObjectManager();
23-
}
24-
25-
/**
26-
* @magentoConfigFixture default/newrelicreporting/general/enable 1
27-
* @magentoConfigFixture default/newrelicreporting/general/app_name beverly_hills
28-
* @magentoConfigFixture default/newrelicreporting/general/separate_apps 1
29-
*/
30-
public function testAppNameIsSetWhenConfiguredCorrectly()
31-
{
32-
$newRelicWrapper = $this->getMockBuilder(NewRelicWrapper::class)
33-
->setMethods(['setAppName'])
34-
->getMock();
35-
36-
$this->objectManager->configure([NewRelicWrapper::class => ['shared' => true]]);
37-
$this->objectManager->addSharedInstance($newRelicWrapper, NewRelicWrapper::class);
38-
39-
$newRelicWrapper->expects($this->once())
40-
->method('setAppName')
41-
->with($this->equalTo('beverly_hills;beverly_hills_90210'));
42-
43-
$state = $this->objectManager->get(State::class);
44-
45-
$state->setAreaCode('90210');
46-
}
15+
/**
16+
* @var ObjectManager
17+
*/
18+
private $objectManager;
19+
20+
protected function setUp()
21+
{
22+
$this->objectManager = Bootstrap::getObjectManager();
23+
}
24+
25+
/**
26+
* @magentoConfigFixture default/newrelicreporting/general/enable 1
27+
* @magentoConfigFixture default/newrelicreporting/general/app_name beverly_hills
28+
* @magentoConfigFixture default/newrelicreporting/general/separate_apps 1
29+
*/
30+
public function testAppNameIsSetWhenConfiguredCorrectly()
31+
{
32+
$newRelicWrapper = $this->getMockBuilder(NewRelicWrapper::class)
33+
->setMethods(['setAppName'])
34+
->getMock();
35+
36+
$this->objectManager->configure([NewRelicWrapper::class => ['shared' => true]]);
37+
$this->objectManager->addSharedInstance($newRelicWrapper, NewRelicWrapper::class);
38+
39+
$newRelicWrapper->expects($this->once())
40+
->method('setAppName')
41+
->with($this->equalTo('beverly_hills;beverly_hills_90210'));
42+
43+
$state = $this->objectManager->get(State::class);
44+
45+
$state->setAreaCode('90210');
46+
}
4747
}

0 commit comments

Comments
 (0)