wip: mostly working tmdb client
This commit is contained in:
@@ -9,7 +9,7 @@ use App\Monitor\Action\Handler\MonitorTvShowHandler;
|
||||
use App\Monitor\Action\Result\MonitorTvShowResult;
|
||||
use App\Monitor\Framework\Entity\Monitor;
|
||||
use App\Monitor\Framework\Repository\MonitorRepository;
|
||||
use App\Tmdb\Tmdb;
|
||||
use App\Tmdb\TmdbClient;
|
||||
use Doctrine\ORM\EntityManagerInterface;
|
||||
use PHPUnit\Framework\TestCase;
|
||||
use Psr\Log\LoggerInterface;
|
||||
@@ -22,7 +22,7 @@ class MonitorTvShowHandlerTest extends TestCase
|
||||
private MonitorTvEpisodeHandler $episodeHandler;
|
||||
private MediaFiles $mediaFiles;
|
||||
private LoggerInterface $logger;
|
||||
private Tmdb $tmdb;
|
||||
private TmdbClient $tmdb;
|
||||
|
||||
protected function setUp(): void
|
||||
{
|
||||
@@ -31,7 +31,7 @@ class MonitorTvShowHandlerTest extends TestCase
|
||||
$this->episodeHandler = $this->createMock(MonitorTvEpisodeHandler::class);
|
||||
$this->mediaFiles = $this->createMock(MediaFiles::class);
|
||||
$this->logger = $this->createMock(LoggerInterface::class);
|
||||
$this->tmdb = $this->createMock(Tmdb::class);
|
||||
$this->tmdb = $this->createMock(TmdbClient::class);
|
||||
|
||||
$this->handler = new MonitorTvShowHandler(
|
||||
$this->monitorRepository,
|
||||
|
||||
Reference in New Issue
Block a user