Fixed test for anime drafts
This commit is contained in:
parent
12d36178de
commit
1d9744ef6a
@ -30,6 +30,10 @@ func TestAnime(t *testing.T) {
|
|||||||
app.BindMiddleware()
|
app.BindMiddleware()
|
||||||
|
|
||||||
for anime := range arn.StreamAnime() {
|
for anime := range arn.StreamAnime() {
|
||||||
|
if anime.IsDraft {
|
||||||
|
continue
|
||||||
|
}
|
||||||
|
|
||||||
assert.True(t, anime.Title.Canonical != "")
|
assert.True(t, anime.Title.Canonical != "")
|
||||||
fetch(t, app, anime.Link())
|
fetch(t, app, anime.Link())
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user