Skip to content

Commit 21e7f2d

Browse files
committed
MQE-683: [Deprecation] Only use more nested assertion syntax
- CR Fixes
1 parent f578c08 commit 21e7f2d

File tree

2 files changed

+0
-24
lines changed

2 files changed

+0
-24
lines changed

src/Magento/FunctionalTestingFramework/Test/etc/Actions/assertActions.xsd

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -49,22 +49,6 @@
4949
</xs:group>
5050

5151
<!-- Data Attributes -->
52-
<xs:attribute type="xs:string" name="expected">
53-
<xs:annotation>
54-
<xs:documentation>
55-
Assertion's Expected value. Cast by expectedType.
56-
</xs:documentation>
57-
</xs:annotation>
58-
</xs:attribute>
59-
60-
<xs:attribute type="xs:string" name="actual">
61-
<xs:annotation>
62-
<xs:documentation>
63-
Assertion's Actual value. Cast by actualType.
64-
</xs:documentation>
65-
</xs:annotation>
66-
</xs:attribute>
67-
6852
<xs:attribute type="xs:string" name="message">
6953
<xs:annotation>
7054
<xs:documentation>
@@ -112,13 +96,6 @@
11296
<xs:choice maxOccurs="unbounded">
11397
<xs:element name="expectedResult" type="expectedElementContainsType" minOccurs="0"/>
11498
</xs:choice>
115-
<xs:attribute type="xs:string" name="expectedValue">
116-
<xs:annotation>
117-
<xs:documentation>
118-
Assertion's Expected value. Cast by expectedType.
119-
</xs:documentation>
120-
</xs:annotation>
121-
</xs:attribute>
12299
<xs:attributeGroup ref="commonActionAttributes"/>
123100
</xs:complexType>
124101

src/Magento/FunctionalTestingFramework/Upgrade/UpdateAssertionSchema.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ public function execute(InputInterface $input)
3434
foreach ($finder->files() as $file) {
3535
$contents = $file->getContents();
3636
// Isolate <assert ... /> but never <assert> ... </assert>, stops after finding first />
37-
// preg_match_all('/<assert[^>]*\/>/', $contents, $potentialAssertions);
3837
preg_match_all('/<assert.*\/>/', $contents, $potentialAssertions);
3938
$newAssertions = [];
4039
$index = 0;

0 commit comments

Comments
 (0)