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)
174174 // <updateData entity="SimpleProduct" />
175175 registrar .registerReferenceProvider (
176176 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+ ))),
181181 new CompositeReferenceProvider (
182182 new DataReferenceProvider ()
183183 )
Original file line number Diff line number Diff line change 66
77public class MftfEntityNameCompletionRegistrarTest extends CompletionXmlFixtureTestCase {
88
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+ };
1515
1616 public void testCreateDataActionGroupMustProvideCompletion () {
1717 String filePath = this .getFixturePath ("TestActionGroup.xml" );
You can’t perform that action at this time.
0 commit comments