chore: remove obsolete feature flag

This commit is contained in:
Björn Fromme
2026-03-23 17:43:12 +01:00
parent bc7fb794bf
commit 77b16f287a
3 changed files with 1 additions and 14 deletions
-5
View File
@@ -14,7 +14,6 @@ use App\BusProNet\XmlLoader\TravelLoader;
use App\Exception\TravelNotFoundException;
use App\Service\TravelDataService;
use App\Service\TravelSnapshotService;
use Flagception\Manager\FeatureManagerInterface;
use PHPUnit\Framework\TestCase;
use Psr\Log\LoggerInterface;
use Symfony\Contracts\Cache\CacheInterface;
@@ -30,7 +29,6 @@ class TravelDataServiceTest extends TestCase
private CacheInterface $cache;
private LoggerInterface $logger;
private TravelSnapshotService $travelSnapshotService;
private FeatureManagerInterface $featureManager;
protected function setUp(): void
{
@@ -42,8 +40,6 @@ class TravelDataServiceTest extends TestCase
$this->cache = $this->createMock(CacheInterface::class);
$this->logger = $this->createMock(LoggerInterface::class);
$this->travelSnapshotService = $this->createMock(TravelSnapshotService::class);
$this->featureManager = $this->createMock(FeatureManagerInterface::class);
$this->featureManager->method('isActive')->with('travel_snapshot')->willReturn(true);
$this->service = new TravelDataService(
$this->travelLoader,
@@ -54,7 +50,6 @@ class TravelDataServiceTest extends TestCase
$this->cache,
$this->logger,
$this->travelSnapshotService,
$this->featureManager,
false, // preferRemote
true, // enableFallback
);