Skip to content

Commit

Permalink
OXDEV-7248 Remove facts usage from test
Browse files Browse the repository at this point in the history
  • Loading branch information
hkreuter committed Jan 22, 2025
1 parent 9e6e603 commit 1d47b38
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions tests/Integration/TestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
use OxidEsales\EshopCommunity\Internal\Framework\Database\ConnectionFactoryInterface;
use OxidEsales\EshopCommunity\Tests\Integration\IntegrationTestCase;
use OxidEsales\EshopCommunity\Tests\TestContainerFactory;
use OxidEsales\Facts\Facts;
use OxidEsales\GraphQL\Base\DataType\UserInterface;
use OxidEsales\GraphQL\Base\Framework\GraphQLQueryHandler;
use OxidEsales\GraphQL\Base\Framework\RequestReader;
Expand Down Expand Up @@ -200,8 +199,7 @@ protected function uploadFile(
$boundary = '-------------' . uniqid();
$postData = $this->buildFileUpload($boundary, $fields, $map, $files);

$facts = new Facts();
$ch = curl_init($facts->getShopUrl() . '/graphql?lang=0&shp=1');
$ch = curl_init(getenv('OXID_SHOP_BASE_URL') . '/graphql?lang=0&shp=1');

$headers = [
'Connection: keep-alive',
Expand Down

0 comments on commit 1d47b38

Please sign in to comment.