Fix order in which entities are flushed in ShortUrlListRepositoryTest

This commit is contained in:
Alejandro Celaya
2024-03-26 09:42:25 +01:00
parent 6fbb5a380d
commit b236354fc7
4 changed files with 86 additions and 118 deletions

View File

@@ -5,8 +5,8 @@ declare(strict_types=1);
use Doctrine\ORM\Events;
use Happyr\DoctrineSpecification\Repository\EntitySpecificationRepository;
use Shlinkio\Shlink\Core\Config\EnvVars;
use Shlinkio\Shlink\Core\Visit\Listener\ShortUrlVisitsCountPreFlushListener;
use function Shlinkio\Shlink\Core\ArrayUtils\contains;
return (static function (): array {