File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
dev/tests/functional/tests/app/Magento
Catalog/Test/Handler/Curl Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -201,7 +201,7 @@ public function persist(FixtureInterface $fixture = null)
201
201
$ curl ->close ();
202
202
203
203
if (!strpos ($ response , 'data-ui-id="messages-message-success" ' )) {
204
- throw new \Exception ("Product creation by curl handler was not successful! Response: $ response URL: $ url " );
204
+ throw new \Exception ("Product creation by curl handler was not successful! Response: $ response " );
205
205
}
206
206
preg_match ("~Location: [^\s]*\/id\/(\d+)~ " , $ response , $ matches );
207
207
return isset ($ matches [1 ]) ? $ matches [1 ] : null ;
Original file line number Diff line number Diff line change @@ -113,7 +113,7 @@ public function persist(FixtureInterface $fixture = null)
113
113
$ curl ->close ();
114
114
115
115
if (!strpos ($ response , 'data-ui-id="messages-message-success" ' )) {
116
- throw new \Exception ("Product creation by curl handler was not successful! Response: $ response " );
116
+ throw new \Exception ("Product creation by curl handler was not successful! Response: $ response URL: $ url " );
117
117
}
118
118
preg_match ("~Location: [^\s]*\/id\/(\d+)~ " , $ response , $ matches );
119
119
return isset ($ matches [1 ]) ? $ matches [1 ] : null ;
You can’t perform that action at this time.
0 commit comments