Skip to content

Commit

Permalink
Revert "use Pimcore\Test\KernelTestCase instead of Symfony\Bundle\Fra…
Browse files Browse the repository at this point in the history
…meworkBundle\Test\KernelTestCase"

This reverts commit 4dd05ca.
  • Loading branch information
jdreesen committed Sep 3, 2024
1 parent ba083f9 commit fb1243f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/Database/ResetDatabase.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

use DAMA\DoctrineTestBundle\Doctrine\DBAL\StaticDriver;
use Neusta\Pimcore\TestingFramework\Exception\DoesNotExtendKernelTestCase;
use Pimcore\Test\KernelTestCase;
use Symfony\Bundle\FrameworkBundle\Test\KernelTestCase;

/**
* @mixin KernelTestCase
Expand Down
4 changes: 2 additions & 2 deletions src/Exception/DoesNotExtendKernelTestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

namespace Neusta\Pimcore\TestingFramework\Exception;

use Pimcore\Test\KernelTestCase;
use Symfony\Bundle\FrameworkBundle\Test\KernelTestCase;

final class DoesNotExtendKernelTestCase extends \RuntimeException
{
Expand All @@ -13,7 +13,7 @@ public static function forTrait(string $trait): self
return new self(\sprintf(
'The trait "%s" can only be used on TestCases that extend "%s".',
$trait,
KernelTestCase::class,
KernelTestCase::class
));
}
}
2 changes: 1 addition & 1 deletion src/Pimcore/WithoutCache.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

use Neusta\Pimcore\TestingFramework\Exception\DoesNotExtendKernelTestCase;
use Pimcore\Cache;
use Pimcore\Test\KernelTestCase;
use Symfony\Bundle\FrameworkBundle\Test\KernelTestCase;

/**
* @mixin KernelTestCase
Expand Down

0 comments on commit fb1243f

Please sign in to comment.