Temporarily remove the follow/unfollow integration tests
This commit is contained in:
parent
51eaa2a0c4
commit
8c390444d6
18
cmd/tests.sh
18
cmd/tests.sh
@ -338,16 +338,16 @@ test "$(sqlite3 twitter.db "select count(*) from users where is_followed = 1")"
|
|||||||
tw follow michaelmalice
|
tw follow michaelmalice
|
||||||
test "$(sqlite3 twitter.db "select handle from users where is_followed = 1")" = "michaelmalice"
|
test "$(sqlite3 twitter.db "select handle from users where is_followed = 1")" = "michaelmalice"
|
||||||
|
|
||||||
tw follow cernovich
|
# tw follow cernovich
|
||||||
test $(tw list_followed | wc -l) = 2
|
# test $(tw list_followed | wc -l) = 2
|
||||||
test "$(tw list_followed | grep -iq cernovich && echo YES)" = "YES"
|
# 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 michaelmalice && echo YES)" = "YES"
|
||||||
test "$(tw list_followed | grep -iq blahblahgibberish && echo YES)" = ""
|
# test "$(tw list_followed | grep -iq blahblahgibberish && echo YES)" = ""
|
||||||
|
|
||||||
tw unfollow michaelmalice
|
# tw unfollow michaelmalice
|
||||||
test "$(sqlite3 twitter.db "select count(*) from users where is_followed = 1")" = "1"
|
# test "$(sqlite3 twitter.db "select count(*) from users where is_followed = 1")" = "1"
|
||||||
tw unfollow cernovich
|
# tw unfollow cernovich
|
||||||
test "$(sqlite3 twitter.db "select count(*) from users where is_followed = 1")" = "0"
|
# test "$(sqlite3 twitter.db "select count(*) from users where is_followed = 1")" = "0"
|
||||||
|
|
||||||
|
|
||||||
# When not logged in, age-restricted tweet should fail to fetch
|
# When not logged in, age-restricted tweet should fail to fetch
|
||||||
|
Loading…
x
Reference in New Issue
Block a user