File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
tests/com/magento/idea/magento2plugin/actions/generation/generator Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -24,6 +24,7 @@ public class PluginDiXmlGeneratorTest extends BaseGeneratorTestCase {
24
24
private static final String PLUGIN_CLASS_TWO_FNQ = "Foo\\ Bar\\ Plugin\\ TestTwoPlugin" ;
25
25
private static final String MODULE = "Foo_Bar" ;
26
26
private static final String MODULE_DIR = "src/app/code/Foo/Bar/" ;
27
+ private static final String TEST_PLUGIN_NAME = "test_plugin_name_1" ;
27
28
28
29
/**
29
30
* Test checks whether di.xml is generated correctly for the base area
@@ -38,7 +39,7 @@ public void testGeneratePluginDiXmlFileWithoutSortOrder() {
38
39
PLUGIN_TARGET_CLASS_ONE_FNQ ,
39
40
area ,
40
41
"" ,
41
- "test_plugin_name_1" ,
42
+ TEST_PLUGIN_NAME ,
42
43
PLUGIN_CLASS_ONE_FNQ
43
44
);
44
45
@@ -61,7 +62,7 @@ public void testGeneratePluginDiXmlFileForBaseArea() {
61
62
PLUGIN_TARGET_CLASS_ONE_FNQ ,
62
63
area ,
63
64
"10" ,
64
- "test_plugin_name_1" ,
65
+ TEST_PLUGIN_NAME ,
65
66
PLUGIN_CLASS_ONE_FNQ
66
67
);
67
68
@@ -106,7 +107,7 @@ public void testAddTwoPluginsToOneDiXml() {
106
107
PLUGIN_TARGET_CLASS_ONE_FNQ ,
107
108
area ,
108
109
"10" ,
109
- "test_plugin_name_1" ,
110
+ TEST_PLUGIN_NAME ,
110
111
PLUGIN_CLASS_ONE_FNQ
111
112
);
112
113
final PsiFile diXml = addPluginDiXml (
@@ -135,7 +136,7 @@ public void testAddTwoPluginsToOneTargetClass() {
135
136
PLUGIN_TARGET_CLASS_ONE_FNQ ,
136
137
area ,
137
138
"10" ,
138
- "test_plugin_name_1" ,
139
+ TEST_PLUGIN_NAME ,
139
140
PLUGIN_CLASS_ONE_FNQ
140
141
);
141
142
final PsiFile diXml = addPluginDiXml (
You can’t perform that action at this time.
0 commit comments