File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
lib/Magento/Mtf/Util/Protocol/CurlTransport
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 @@ -75,7 +75,7 @@ protected function authorize()
75
75
$ response = $ this ->read ();
76
76
if (strpos ($ response , 'page-login ' )) {
77
77
throw new \Exception (
78
- 'Admin user cannot be logged in by curl handler! URL: ' . $ url . ' DATA: ' . implode ( ' ' , $ data )
78
+ 'Admin user cannot be logged in by curl handler! '
79
79
);
80
80
}
81
81
}
Original file line number Diff line number Diff line change @@ -114,7 +114,7 @@ public function persist(FixtureInterface $fixture = null)
114
114
$ curl ->close ();
115
115
116
116
if (!strpos ($ response , 'data-ui-id="messages-message-success" ' )) {
117
- throw new \Exception ("Product creation by curl handler was not successful! Response: $ response URL: $ url " );
117
+ throw new \Exception ("Product creation by curl handler was not successful! Response: $ response " );
118
118
}
119
119
preg_match ("~Location: [^\s]*\/id\/(\d+)~ " , $ response , $ matches );
120
120
return isset ($ matches [1 ]) ? $ matches [1 ] : null ;
You can’t perform that action at this time.
0 commit comments