Skip to content

Commit

Permalink
use Pimcore\Test\KernelTestCase instead of Symfony\Bundle\FrameworkBu…
Browse files Browse the repository at this point in the history
…ndle\Test\KernelTestCase
  • Loading branch information
jdreesen committed Aug 30, 2024
1 parent 97ffe41 commit 4dd05ca
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 Symfony\Bundle\FrameworkBundle\Test\KernelTestCase;
use Pimcore\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 Symfony\Bundle\FrameworkBundle\Test\KernelTestCase;
use Pimcore\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 Symfony\Bundle\FrameworkBundle\Test\KernelTestCase;
use Pimcore\Test\KernelTestCase;

/**
* @mixin KernelTestCase
Expand Down

0 comments on commit 4dd05ca

Please sign in to comment.