From b78cef34ceaf2d5778f0f6b2f87749ab058aa4df Mon Sep 17 00:00:00 2001 From: Alessio Date: Sun, 13 Nov 2022 11:29:47 -0500 Subject: [PATCH] Update tests to change account that got banned --- cmd/tests.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/cmd/tests.sh b/cmd/tests.sh index eaa624c..1a8e433 100755 --- a/cmd/tests.sh +++ b/cmd/tests.sh @@ -106,13 +106,13 @@ test $(find videos -mindepth 2 | wc -l) = "$((initial_videos_count + 2))" test $(sqlite3 twitter.db "select count(*) from videos where tweet_id = 1580185800968327168 and is_gif = 1") = "2" # Fetch a tweet with 2 videos -test $(sqlite3 twitter.db "select count(*) from videos where tweet_id = 1579701786252042240 and is_gif = 0") = "0" -tw fetch_user FairwayWill -tw fetch_tweet_only https://twitter.com/FairwayWill/status/1579701786252042240 -test $(sqlite3 twitter.db "select count(*) from videos where tweet_id = 1579701786252042240 and is_gif = 0") = "2" +test $(sqlite3 twitter.db "select count(*) from videos where tweet_id = 1591025378143129601 and is_gif = 0") = "0" +tw fetch_user alifarhat79 +tw fetch_tweet_only https://twitter.com/alifarhat79/status/1591025378143129601 +test $(sqlite3 twitter.db "select count(*) from videos where tweet_id = 1591025378143129601 and is_gif = 0") = "2" initial_videos_count=$(find videos -mindepth 2 | wc -l) -tw download_tweet_content https://twitter.com/FairwayWill/status/1579701786252042240 +tw download_tweet_content https://twitter.com/alifarhat79/status/1591025378143129601 test $(find videos -mindepth 2 | wc -l) = "$((initial_videos_count + 2))" # Fetch a tweet with a video and an image