File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
tests/com/magento/idea/magento2plugin/actions/generation/generator Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -22,8 +22,8 @@ public void testGenerateDataModel() {
22
22
"Foo_Bar" ,
23
23
"Foo\\ Bar\\ Model\\ Data\\ Sample" ,
24
24
"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" ,
27
27
true
28
28
);
29
29
final DataModelGenerator generator = new DataModelGenerator (
@@ -51,8 +51,8 @@ public void testGenerateDataModelWithoutInterface() {
51
51
"Foo_Bar" ,
52
52
"Foo\\ Bar\\ Model\\ Data\\ Sample" ,
53
53
"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" ,
56
56
false
57
57
);
58
58
final DataModelGenerator generator = new DataModelGenerator (
Original file line number Diff line number Diff line change @@ -21,8 +21,8 @@ public void testGenerateDataModelInterface() {
21
21
"SampleInterface" ,
22
22
"Foo_Bar" ,
23
23
"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"
26
26
);
27
27
final DataModelInterfaceGenerator generator = new DataModelInterfaceGenerator (
28
28
project , interfaceData
You can’t perform that action at this time.
0 commit comments