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() {
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 (
Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments