File tree Expand file tree Collapse file tree
tests/Integration/Controller Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -151,6 +151,16 @@ public function testEpisodeActionCreateAction(): void
151151 "started": 15,
152152 "position": 120,
153153 "total": 500
154+ },
155+ {
156+ "podcast": "https://example.com/feed.rss",
157+ "episode": "https://example.com/files/s01e21.mp3",
158+ "guid": "s01e21-example-org",
159+ "action": "DELETE",
160+ "timestamp": "2009-12-12T09:00:00",
161+ "started": -1,
162+ "position": -1,
163+ "total": -1
154164 }
155165] ' ,
156166 true ,
@@ -181,6 +191,7 @@ public function testEpisodeActionCreateAction(): void
181191 $ episodeActionEntities = $ mapper ->findAll (0 , $ userId );
182192 /** @var EpisodeActionEntity $firstEntity */
183193 $ firstEntity = $ episodeActionEntities [0 ];
194+ $ this ->assertCount (1 , $ episodeActionEntities );
184195 $ this ->assertSame (
185196 "https://example.com/feed.rss " ,
186197 $ firstEntity ->getPodcast ()
You can’t perform that action at this time.
0 commit comments