File tree 1 file changed +1
-3
lines changed
1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change 16
16
use OxidEsales \EshopCommunity \Internal \Framework \Database \ConnectionFactoryInterface ;
17
17
use OxidEsales \EshopCommunity \Tests \Integration \IntegrationTestCase ;
18
18
use OxidEsales \EshopCommunity \Tests \TestContainerFactory ;
19
- use OxidEsales \Facts \Facts ;
20
19
use OxidEsales \GraphQL \Base \DataType \UserInterface ;
21
20
use OxidEsales \GraphQL \Base \Framework \GraphQLQueryHandler ;
22
21
use OxidEsales \GraphQL \Base \Framework \RequestReader ;
@@ -200,8 +199,7 @@ protected function uploadFile(
200
199
$ boundary = '------------- ' . uniqid ();
201
200
$ postData = $ this ->buildFileUpload ($ boundary , $ fields , $ map , $ files );
202
201
203
- $ facts = new Facts ();
204
- $ ch = curl_init ($ facts ->getShopUrl () . '/graphql?lang=0&shp=1 ' );
202
+ $ ch = curl_init (getenv ('OXID_SHOP_BASE_URL ' ) . '/graphql?lang=0&shp=1 ' );
205
203
206
204
$ headers = [
207
205
'Connection: keep-alive ' ,
You can’t perform that action at this time.
0 commit comments