chore: remove obsolete feature flag
This commit is contained in:
@@ -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
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user