File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed
Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change 1616use OxidEsales \EshopCommunity \Internal \Framework \Database \ConnectionFactoryInterface ;
1717use OxidEsales \EshopCommunity \Tests \Integration \IntegrationTestCase ;
1818use OxidEsales \EshopCommunity \Tests \TestContainerFactory ;
19- use OxidEsales \Facts \Facts ;
2019use OxidEsales \GraphQL \Base \DataType \UserInterface ;
2120use OxidEsales \GraphQL \Base \Framework \GraphQLQueryHandler ;
2221use OxidEsales \GraphQL \Base \Framework \RequestReader ;
@@ -200,8 +199,7 @@ protected function uploadFile(
200199 $ boundary = '------------- ' . uniqid ();
201200 $ postData = $ this ->buildFileUpload ($ boundary , $ fields , $ map , $ files );
202201
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 ' );
205203
206204 $ headers = [
207205 'Connection: keep-alive ' ,
You can’t perform that action at this time.
0 commit comments