Skip to content

Commit 7fc5d5a

Browse files
committed
MQE-1974: Report used deprecated matadata in Test
Fixed static tests
1 parent 98a678d commit 7fc5d5a

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

src/Magento/FunctionalTestingFramework/DataGenerator/Handlers/DataObjectHandler.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ class DataObjectHandler implements ObjectHandlerInterface
7575

7676
/**
7777
* Constructor
78-
* @param bool $validateName Set to false to disable name validations
78+
* @param boolean $validateName Set to false to disable name validations.
7979
* @throws XmlException
8080
*/
8181
private function __construct($validateName = true)
@@ -94,7 +94,7 @@ private function __construct($validateName = true)
9494
/**
9595
* Return the singleton instance of this class. Initialize it if needed.
9696
*
97-
* @param bool $validateName
97+
* @param boolean $validateName
9898
* @return DataObjectHandler
9999
* @throws \Exception
100100
*/
@@ -138,10 +138,10 @@ public function getAllObjects()
138138
* Convert the parser output into a collection of EntityDataObjects
139139
*
140140
* @param string[] $parserOutput Primitive array output from the Magento parser.
141-
* @param bool $validateName
141+
* @param boolean $validateName
142142
* @return EntityDataObject[]
143143
* @throws XmlException
144-
* @SuppressWarnings(PHPMD.CyclomaticComplexity)
144+
* @SuppressWarnings(PHPMD)
145145
*/
146146
private function processParserOutput($parserOutput, $validateName = true)
147147
{
@@ -245,7 +245,7 @@ private function processArray($arrayItems, $data, $key)
245245
* Parses <data> elements in an entity, and returns them as an array of "lowerKey"=>value.
246246
*
247247
* @param string[] $entityData
248-
* @param bool $validateName
248+
* @param boolean $validateName
249249
* @return string[]
250250
*/
251251
private function processDataElements($entityData, $validateName = true)

src/Magento/FunctionalTestingFramework/DataGenerator/Persist/CurlHandler.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,7 @@ public function executeRequest($dependentEntities)
126126
$method = $this->operationDefinition->getApiMethod();
127127
AllureHelper::addAttachmentToCurrentStep($apiUrl, 'API Endpoint');
128128
AllureHelper::addAttachmentToCurrentStep(json_encode($headers, JSON_PRETTY_PRINT), 'Request Headers');
129+
129130
$operationDataResolver = new OperationDataArrayResolver($dependentEntities);
130131
$this->requestData = $operationDataResolver->resolveOperationDataArray(
131132
$this->entityObject,

0 commit comments

Comments
 (0)