Skip to content

Commit fdec600

Browse files
committed
fixed pmd issue
1 parent d1416ca commit fdec600

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

tests/com/magento/idea/magento2plugin/actions/generation/generator/DataModelGeneratorTest.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ public void testGenerateDataModel() {
2222
"Foo_Bar",
2323
"Foo\\Bar\\Model\\Data\\Sample",
2424
"Foo\\Bar\\Api\\Data\\SampleInterface",
25-
"ID_PROPERTY;id_property;int;IdProperty;idProperty," +
26-
"SAMPLE_PROPERTY;sample_property;string;SampleProperty;sampleProperty",
25+
"ID_PROPERTY;id_property;int;IdProperty;idProperty,"
26+
+ "SAMPLE_PROPERTY;sample_property;string;SampleProperty;sampleProperty",
2727
true
2828
);
2929
final DataModelGenerator generator = new DataModelGenerator(
@@ -51,8 +51,8 @@ public void testGenerateDataModelWithoutInterface() {
5151
"Foo_Bar",
5252
"Foo\\Bar\\Model\\Data\\Sample",
5353
"Foo\\Bar\\Api\\Data\\SampleInterface",
54-
"ID_PROPERTY;id_property;int;IdProperty;idProperty," +
55-
"SAMPLE_PROPERTY;sample_property;string;SampleProperty;sampleProperty",
54+
"ID_PROPERTY;id_property;int;IdProperty;idProperty,"
55+
+ "SAMPLE_PROPERTY;sample_property;string;SampleProperty;sampleProperty",
5656
false
5757
);
5858
final DataModelGenerator generator = new DataModelGenerator(

tests/com/magento/idea/magento2plugin/actions/generation/generator/DataModelInterfaceGeneratorTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ public void testGenerateDataModelInterface() {
2121
"SampleInterface",
2222
"Foo_Bar",
2323
"Foo\\Bar\\Api\\Data\\SampleInterface",
24-
"ID_PROPERTY;id_property;int;IdProperty;idProperty," +
25-
"SAMPLE_PROPERTY;sample_property;string;SampleProperty;sampleProperty"
24+
"ID_PROPERTY;id_property;int;IdProperty;idProperty,"
25+
+ "SAMPLE_PROPERTY;sample_property;string;SampleProperty;sampleProperty"
2626
);
2727
final DataModelInterfaceGenerator generator = new DataModelInterfaceGenerator(
2828
project, interfaceData

0 commit comments

Comments
 (0)