Skip to content

Commit 72a9b5d

Browse files
committed
MC-18945: Reading deprecated annotation in schema
- added PR build static fixes
1 parent caa1012 commit 72a9b5d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

dev/tests/integration/testsuite/Magento/Framework/GraphQl/Config/GraphQlDeprecatedAnnotationReaderTest.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -211,16 +211,16 @@ enumValues(includeDeprecated: true) {
211211
if ($field['isDeprecated'] === true) {
212212
$typeDeprecatedReason [] = $field['deprecationReason'];
213213
}
214-
}
215-
$this->assertNotEmpty($typeDeprecatedReason);
216-
$this->assertContains('Deprecated url_path test', $typeDeprecatedReason);
214+
}
215+
$this->assertNotEmpty($typeDeprecatedReason);
216+
$this->assertContains('Deprecated url_path test', $typeDeprecatedReason);
217217

218218
foreach ($enumValuesArray as $enumValue) {
219219
if ($enumValue['isDeprecated'] === true) {
220220
$enumValueDeprecatedReason [] = $enumValue['deprecationReason'];
221221
}
222222
}
223223
$this->assertNotEmpty($enumValueDeprecatedReason);
224-
$this->assertContains('Deprecated SortEnum Value test',$enumValueDeprecatedReason);
224+
$this->assertContains('Deprecated SortEnum Value test', $enumValueDeprecatedReason);
225225
}
226226
}

0 commit comments

Comments
 (0)