Hide outdated test case

This commit is contained in:
WingCH 2021-12-14 13:43:08 +08:00
parent 01a9ad6691
commit d37b87fcc9
1 changed files with 10 additions and 9 deletions

View File

@ -36,15 +36,16 @@ void main() {
expect(video.thumbnails, isNotEmpty); expect(video.thumbnails, isNotEmpty);
}); });
test('Search with no results - old', () async { // Seems all search key also have result now, so hide this test case
var query = // test('Search with no results - old', () async {
// ignore: deprecated_member_use_from_same_package // var query =
await yt!.search.queryFromPage('g;jghEOGHJeguEPOUIhjegoUEHGOGHPSASG'); // // ignore: deprecated_member_use_from_same_package
expect(query.content, isEmpty); // await yt!.search.queryFromPage('g;jghEOGHJeguEPOUIhjegoUEHGOGHPSASG');
expect(query.relatedVideos, isEmpty); // expect(query.content, isEmpty);
var nextPage = await query.nextPage(); // expect(query.relatedVideos, isEmpty);
expect(nextPage, isNull); // var nextPage = await query.nextPage();
}); // expect(nextPage, isNull);
// });
test('Search youtube videos have thumbnails - old', () async { test('Search youtube videos have thumbnails - old', () async {
// ignore: deprecated_member_use_from_same_package // ignore: deprecated_member_use_from_same_package