Skip to content

Commit 6ed8d94

Browse files
committed
Make tests more robust against potential side effects
1 parent d077b06 commit 6ed8d94

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

src/app/code/community/IntegerNet/Solr/Test/Controller/Abstract.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ abstract class IntegerNet_Solr_Test_Controller_Abstract extends EcomDev_PHPUnit_
1212
{
1313
public static function setUpBeforeClass()
1414
{
15-
Mage::register('isSecureArea', true);
15+
Mage::register('isSecureArea', true, true);
1616
}
1717
public static function tearDownAfterClass()
1818
{

src/app/code/community/IntegerNet/Solr/Test/fixtures/registry.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ registry:
77
- integernet_solr/factory
88
- integernet_solr/log
99
singleton:
10+
- eav/config
11+
- core/app_emulation
12+
- core/factory
1013
- catalog/layer
1114
- core/session
1215
- customer/session

0 commit comments

Comments
 (0)