File tree Expand file tree Collapse file tree 2 files changed +10
-10
lines changed
src/com/magento/idea/magento2plugin/reference/xml
tests/com/magento/idea/magento2plugin/completion/xml Expand file tree Collapse file tree 2 files changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -174,10 +174,10 @@ public void registerReferenceProviders(@NotNull PsiReferenceRegistrar registrar)
174
174
// <updateData entity="SimpleProduct" />
175
175
registrar .registerReferenceProvider (
176
176
XmlPatterns .xmlAttributeValue ().withParent (XmlPatterns .xmlAttribute ()
177
- .withName (MftfActionGroup .ENTITY_ATTRIBUTE ).
178
- withParent (XmlPatterns .xmlTag ().withName (
179
- string ().oneOf (MftfActionGroup .CREATE_DATA_TAG , MftfActionGroup .UPDATE_DATA_TAG )
180
- ))),
177
+ .withName (MftfActionGroup .ENTITY_ATTRIBUTE )
178
+ . withParent (XmlPatterns .xmlTag ().withName (
179
+ string ().oneOf (MftfActionGroup .CREATE_DATA_TAG , MftfActionGroup .UPDATE_DATA_TAG )
180
+ ))),
181
181
new CompositeReferenceProvider (
182
182
new DataReferenceProvider ()
183
183
)
Original file line number Diff line number Diff line change 6
6
7
7
public class MftfEntityNameCompletionRegistrarTest extends CompletionXmlFixtureTestCase {
8
8
9
- private static final String [] lookupStringsEntities = new String []{
10
- "TestAdminMenuCatalog" ,
11
- "TestAdminMenuCatalog.pageTitle" ,
12
- "TestDefaultAttributeSet" ,
13
- "TestDefaultAttributeSet.attribute_set_id"
14
- };
9
+ private static final String [] lookupStringsEntities = new String [] {
10
+ "TestAdminMenuCatalog" ,
11
+ "TestAdminMenuCatalog.pageTitle" ,
12
+ "TestDefaultAttributeSet" ,
13
+ "TestDefaultAttributeSet.attribute_set_id"
14
+ };
15
15
16
16
public void testCreateDataActionGroupMustProvideCompletion () {
17
17
String filePath = this .getFixturePath ("TestActionGroup.xml" );
You can’t perform that action at this time.
0 commit comments