From 8c390444d6373bf6fd3dc43c5187577e5cc0666c Mon Sep 17 00:00:00 2001 From: Alessio Date: Tue, 17 Sep 2024 18:25:25 -0700 Subject: [PATCH] Temporarily remove the follow/unfollow integration tests --- cmd/tests.sh | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/cmd/tests.sh b/cmd/tests.sh index aa520b2..59aea0c 100755 --- a/cmd/tests.sh +++ b/cmd/tests.sh @@ -338,16 +338,16 @@ test "$(sqlite3 twitter.db "select count(*) from users where is_followed = 1")" tw follow michaelmalice test "$(sqlite3 twitter.db "select handle from users where is_followed = 1")" = "michaelmalice" -tw follow cernovich -test $(tw list_followed | wc -l) = 2 -test "$(tw list_followed | grep -iq cernovich && echo YES)" = "YES" -test "$(tw list_followed | grep -iq michaelmalice && echo YES)" = "YES" -test "$(tw list_followed | grep -iq blahblahgibberish && echo YES)" = "" +# tw follow cernovich +# test $(tw list_followed | wc -l) = 2 +# test "$(tw list_followed | grep -iq cernovich && echo YES)" = "YES" +# test "$(tw list_followed | grep -iq michaelmalice && echo YES)" = "YES" +# test "$(tw list_followed | grep -iq blahblahgibberish && echo YES)" = "" -tw unfollow michaelmalice -test "$(sqlite3 twitter.db "select count(*) from users where is_followed = 1")" = "1" -tw unfollow cernovich -test "$(sqlite3 twitter.db "select count(*) from users where is_followed = 1")" = "0" +# tw unfollow michaelmalice +# test "$(sqlite3 twitter.db "select count(*) from users where is_followed = 1")" = "1" +# tw unfollow cernovich +# test "$(sqlite3 twitter.db "select count(*) from users where is_followed = 1")" = "0" # When not logged in, age-restricted tweet should fail to fetch