Skip to content

Commit

Permalink
Run with shop 8.0.x, WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
hkreuter committed Jan 3, 2025
1 parent 8f753dd commit 2c4b09a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/Integration/BaseTestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
use OxidEsales\Eshop\Core\Registry;
use OxidEsales\EshopCommunity\Internal\Container\ContainerFactory;
use OxidEsales\EshopCommunity\Internal\Framework\Database\QueryBuilderFactoryInterface;
use OxidEsales\EshopCommunity\Internal\Framework\FileSystem\ProjectRootLocator;
use OxidEsales\GraphQL\Base\Tests\Integration\TokenTestCase;
use Symfony\Component\Filesystem\Filesystem;
use Symfony\Component\Filesystem\Path;
Expand Down Expand Up @@ -41,7 +42,7 @@ protected function setActiveState(string $id, string $table = 'oxarticles', int
protected function copyAssets(): void
{
$shopAssetDir = Path::join(
Registry::getConfig()->getConfigParam('sShopDir'),
Path::join((new ProjectRootLocator())->getProjectRoot(), 'source'),
self::MANUFACTURER_MEDIA_PATH
);

Expand Down
1 change: 1 addition & 0 deletions tests/Integration/Controller/ContentTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@

namespace OxidEsales\GraphQL\Storefront\Tests\Integration\Controller;

use OxidEsales\EshopCommunity\Internal\Framework\Edition\Edition;
use OxidEsales\EshopCommunity\Core\Di\ContainerFacade;
use OxidEsales\EshopCommunity\Internal\Container\ContainerFactory;
use OxidEsales\EshopCommunity\Internal\Framework\Database\QueryBuilderFactoryInterface;
Expand Down

0 comments on commit 2c4b09a

Please sign in to comment.