aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/Repositories/ProgramRepositoryTest.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/Repositories/ProgramRepositoryTest.php b/tests/Repositories/ProgramRepositoryTest.php
index f8a32d7..f943bb6 100644
--- a/tests/Repositories/ProgramRepositoryTest.php
+++ b/tests/Repositories/ProgramRepositoryTest.php
@@ -36,11 +36,12 @@ final class ProgramRepositoryTest extends TestCase {
* @throws \Exception
*/
public function testGetAction(): void {
+ $week = date('Y-m-d', strtotime('this week'));
$env = GetServiceEnvironment::get();
$channels = ChannelRepository::create($env)->get();
$channel = array_shift($channels);
- foreach (ProgramRepository::create($env, $channel->id)->get() as $program) {
+ foreach (ProgramRepository::create($env, $channel->id, $week)->get() as $program) {
/** @var \EPGService\Entities\ProgramEntity $program */
self::assertNotEmpty($program->channel_id);