Skip to content

Commit

Permalink
Paused youtube is not playing
Browse files Browse the repository at this point in the history
  • Loading branch information
willemstuursma committed Feb 22, 2021
1 parent 8ff0f20 commit 3a6dfc7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/ValueObjects/StatusTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,14 @@ public function testCreatedFromGoChromecastOutput(string $output, bool $youtubeI
$actual = Status::fromGoChromeCastOutput($output);

self::assertSame($youtubeIsPlaying, $actual->isPlayingYoutube());

// self::assertEquals($actual, $i);
}

public function dpGoChromeCastOutputStrings(): array
{
return [
["Idle (Backdrop), volume=0.78 muted=false\n", false],
["[wX0vTXk08Pk] YouTube (PLAYING), title=\"I bought more C64 SID chips from AliExpress! (And some other chips too)\", artist=\"\", time remaining=591s/2636s, volume=1.00, muted=false\n", true]
["[Zg_bLK5XChA] YouTube (PAUSED), title=\"The 2020 Audi RSQ8 Is a $140,000 Super SUV\", artist=\"\", time remaining=201s/1336s, volume=0.85, muted=false\n", false]
];
}
}

0 comments on commit 3a6dfc7

Please sign in to comment.