Skip to content

Commit 1d47b38

Browse files
committed
OXDEV-7248 Remove facts usage from test
1 parent 9e6e603 commit 1d47b38

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

tests/Integration/TestCase.php

+1-3
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
use OxidEsales\EshopCommunity\Internal\Framework\Database\ConnectionFactoryInterface;
1717
use OxidEsales\EshopCommunity\Tests\Integration\IntegrationTestCase;
1818
use OxidEsales\EshopCommunity\Tests\TestContainerFactory;
19-
use OxidEsales\Facts\Facts;
2019
use OxidEsales\GraphQL\Base\DataType\UserInterface;
2120
use OxidEsales\GraphQL\Base\Framework\GraphQLQueryHandler;
2221
use 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',

0 commit comments

Comments
 (0)