Add integration test for another type of deleted tweet
This commit is contained in:
parent
81c39e0c4c
commit
cf6443518a
@ -307,6 +307,10 @@ tw fetch_tweet https://twitter.com/CovfefeAnon/status/1365278017233313795
|
||||
test $(sqlite3 twitter.db "select is_id_fake from users where handle = '_selfoptimizer'") = 1
|
||||
test $(sqlite3 twitter.db "select count(*) from tweets where user_id = (select id from users where handle = '_selfoptimizer')") = 1
|
||||
|
||||
# Test a tweet which is itself from a deleted account
|
||||
tw fetch_tweet https://twitter.com/lndian_Bronson/status/1569875562784608256
|
||||
test $(sqlite3 twitter.db "select is_stub, user_id = 0x4000000000000000 from tweets where id = 1569875562784608256") = "1|1"
|
||||
|
||||
|
||||
# Test fetching a banned user
|
||||
tw fetch_user nancytracker
|
||||
|
Loading…
x
Reference in New Issue
Block a user