Skip to content

Commit 550a40f

Browse files
committed
MC-38349: Create automated test for SVC changes
- Fix whitespace in test cases
1 parent 1af0fa0 commit 550a40f

File tree

34 files changed

+33
-34
lines changed

34 files changed

+33
-34
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
22
"name": "test/api-class",
33
"description": "module composer package"
4-
}
4+
}
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
22
"name": "test/api-interface",
33
"description": "module composer package"
4-
}
4+
}
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
22
"name": "test/api-trait",
33
"description": "module composer package"
4-
}
4+
}
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
22
"name": "test/project-package",
33
"description": "composer root for project package",
4-
}
4+
}

tests/Unit/Console/Command/CompareSourceCommandTest/_files/all/source-code-after/db_schema/add-foreign-key/Magento/DbSchema/etc/db_schema_whitelist.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@
1111
"FL_ALLOWED_SEVERITIES": true
1212
}
1313
}
14-
}
14+
}
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
22
"name": "test/db_schema",
33
"description": "module composer package"
4-
}
4+
}

tests/Unit/Console/Command/CompareSourceCommandTest/_files/all/source-code-after/di_xml/change-name/Magento/TestModule/etc/di.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@
88
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:ObjectManager/etc/config.xsd">
99
<!-- @api -->
1010
<virtualType name="customCacheInstance" type="Magento\Framework\App\Cache" shared="true"/>
11-
</config>
11+
</config>
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
22
"name": "test/di_xml",
33
"description": "module composer package"
4-
}
4+
}
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
22
"name": "test/layout_xml",
33
"description": "module composer package"
4-
}
4+
}
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
22
"name": "test/less",
33
"description": "module composer package"
4-
}
4+
}
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
// Exemplary import declaration
1+
// Exemplary import declaration
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
22
"name": "test/mftf",
33
"description": "module composer package"
4-
}
4+
}

tests/Unit/Console/Command/CompareSourceCommandTest/_files/all/source-code-after/mftf/suite-after-action-changed/Magento/TestModule/Test/Mftf/Suite/suite.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,4 @@
2121
<group name="group1"/>
2222
</include>
2323
</suite>
24-
</suites>
24+
</suites>
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
22
"name": "test/system_xml",
33
"description": "module composer package"
4-
}
4+
}

tests/Unit/Console/Command/CompareSourceCommandTest/_files/all/source-code-after/system_xml/field_removed/Magento/TestModule/etc/adminhtml/system.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,4 @@
1616
</group>
1717
</section>
1818
</system>
19-
</config>
19+
</config>

tests/Unit/Console/Command/CompareSourceCommandTest/_files/all/source-code-after/xsd-schema/attribute-removed/Magento/TestModule/etc/test-schema.xsd

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@
1212
<xs:documentation>Type to which a required attribute is added</xs:documentation>
1313
</xs:annotation>
1414
</xs:complexType>
15-
</xs:schema>
15+
</xs:schema>
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
22
"name": "test/xsd-schema",
33
"description": "module composer package"
4-
}
4+
}
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
22
"name": "test/api-class",
33
"description": "module composer package"
4-
}
4+
}
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
22
"name": "test/api-interface",
33
"description": "module composer package"
4-
}
4+
}
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
22
"name": "test/api-trait",
33
"description": "module composer package"
4-
}
4+
}
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
22
"name": "test/project-package",
33
"description": "composer root for project package"
4-
}
4+
}

tests/Unit/Console/Command/CompareSourceCommandTest/_files/all/source-code-before/db_schema/add-foreign-key/Magento/DbSchema/etc/db_schema_whitelist.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@
1010
"PRIMARY": true
1111
}
1212
}
13-
}
13+
}
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
22
"name": "test/db_schema",
33
"description": "module composer package"
4-
}
4+
}

tests/Unit/Console/Command/CompareSourceCommandTest/_files/all/source-code-before/di_xml/change-name/Magento/TestModule/etc/di.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@
88
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:ObjectManager/etc/config.xsd">
99
<!-- @api -->
1010
<virtualType name="cacheInstance" type="Magento\Framework\App\Cache" shared="true"/>
11-
</config>
11+
</config>
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
22
"name": "test/di_xml",
33
"description": "module composer package"
4-
}
4+
}
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
22
"name": "test/layout_xml",
33
"description": "module composer package"
4-
}
4+
}
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
22
"name": "test/less",
33
"description": "module composer package"
4-
}
4+
}
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
// Exemplary import declaration
2-
@import 'testimport';
2+
@import 'testimport';
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
22
"name": "test/mftf",
33
"description": "module composer package"
4-
}
4+
}

tests/Unit/Console/Command/CompareSourceCommandTest/_files/all/source-code-before/mftf/suite-after-action-changed/Magento/TestModule/Test/Mftf/Suite/suite.xml

-1
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,3 @@
2222
</include>
2323
</suite>
2424
</suites>
25-
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
22
"name": "test/system_xml",
33
"description": "module composer package"
4-
}
4+
}

tests/Unit/Console/Command/CompareSourceCommandTest/_files/all/source-code-before/system_xml/field_removed/Magento/TestModule/etc/adminhtml/system.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,4 @@
1919
</group>
2020
</section>
2121
</system>
22-
</config>
22+
</config>

tests/Unit/Console/Command/CompareSourceCommandTest/_files/all/source-code-before/xsd-schema/attribute-removed/Magento/TestModule/etc/test-schema.xsd

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,4 @@
1515
<xs:attribute name="requiredAttribute" type="xs:string" use="required"/>
1616
<xs:attribute name="optionalAttribute" type="xs:string" use="optional"/>
1717
</xs:complexType>
18-
</xs:schema>
18+
</xs:schema>
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
22
"name": "test/xsd-schema",
33
"description": "module composer package"
4-
}
4+
}

0 commit comments

Comments
 (0)