mirror of
https://github.com/mxpv/podsync.git
synced 2024-05-11 05:55:04 +00:00
Fix durations (use fork with fix)
This commit is contained in:
@@ -20,3 +20,6 @@
|
||||
# name = "github.com/x/y"
|
||||
# version = "2.4.0"
|
||||
|
||||
[[constraint]]
|
||||
name = "github.com/mxpv/podcast"
|
||||
branch = "master"
|
||||
@@ -134,6 +134,7 @@ func TestQueryVimeoVideos(t *testing.T) {
|
||||
require.NotEmpty(t, item.Title)
|
||||
require.NotEmpty(t, item.Link)
|
||||
require.NotEmpty(t, item.GUID)
|
||||
require.NotEmpty(t, item.IDuration)
|
||||
require.NotNil(t, item.Enclosure)
|
||||
require.NotEmpty(t, item.Enclosure.URL)
|
||||
require.True(t, item.Enclosure.Length > 0)
|
||||
|
||||
@@ -92,5 +92,6 @@ func TestBuildYTFeed(t *testing.T) {
|
||||
for _, item := range podcast.Items {
|
||||
require.NotEmpty(t, item.Title)
|
||||
require.NotEmpty(t, item.Link)
|
||||
require.NotEmpty(t, item.IDuration)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user