Skip to content

Commit 23edff1

Browse files
committed
- Fix static tests
1 parent 322bd6c commit 23edff1

File tree

5 files changed

+26
-6
lines changed

5 files changed

+26
-6
lines changed

src/Magento/FunctionalTestingFramework/DataGenerator/Persist/Curl/AdminExecutor.php

+6-1
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,12 @@ public function write($url, $data = [], $method = CurlInterface::POST, $headers
136136
}
137137

138138
/**
139-
* @inheritdoc
139+
* Read response from server.
140+
*
141+
* @param string $successRegex
142+
* @param string $returnRegex
143+
* @param string|null $returnIndex
144+
* @return string|array
140145
* @throws TestFrameworkException
141146
*/
142147
public function read($successRegex = null, $returnRegex = null, $returnIndex = null)

src/Magento/FunctionalTestingFramework/DataGenerator/Persist/Curl/FrontendExecutor.php

+6-1
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,12 @@ public function write($url, $data = [], $method = CurlInterface::POST, $headers
156156
}
157157

158158
/**
159-
* @inheritdoc
159+
* Read response from server.
160+
*
161+
* @param string $successRegex
162+
* @param string $returnRegex
163+
* @param string|null $returnIndex
164+
* @return string|array
160165
* @throws TestFrameworkException
161166
*/
162167
public function read($successRegex = null, $returnRegex = null, $returnIndex = null)

src/Magento/FunctionalTestingFramework/DataGenerator/Persist/Curl/WebapiExecutor.php

+6-1
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,12 @@ public function write($url, $data = [], $method = CurlInterface::POST, $headers
135135
}
136136

137137
/**
138-
* @inheritdoc
138+
* Read response from server.
139+
*
140+
* @param string $successRegex
141+
* @param string $returnRegex
142+
* @param string|null $returnIndex
143+
* @return string
139144
* @throws TestFrameworkException
140145
*/
141146
public function read($successRegex = null, $returnRegex = null, $returnIndex = null)

src/Magento/FunctionalTestingFramework/Util/Protocol/CurlInterface.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,8 @@ public function write($url, $body = [], $method = CurlInterface::POST, $headers
4242
/**
4343
* Read response from server.
4444
*
45-
* @param string $successRegex
46-
* @param string $returnRegex
45+
* @param string $successRegex
46+
* @param string $returnRegex
4747
* @param string|null $returnIndex
4848
* @return string|array
4949
*/

src/Magento/FunctionalTestingFramework/Util/Protocol/CurlTransport.php

+6-1
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,12 @@ public function write($url, $body = [], $method = CurlInterface::POST, $headers
159159
}
160160

161161
/**
162-
* @inheritdoc
162+
* Read response from server.
163+
*
164+
* @param string $successRegex
165+
* @param string $returnRegex
166+
* @param string|null $returnIndex
167+
* @return string
163168
* @throws TestFrameworkException
164169
*/
165170
public function read($successRegex = null, $returnRegex = null, $returnIndex = null)

0 commit comments

Comments
 (0)