Fix a broken integration test

This commit is contained in:
Alessio 2025-01-18 20:38:32 -08:00
parent 7a056c7494
commit af21249e67

View File

@ -303,7 +303,8 @@ test $(sqlite3 twitter.db "select is_stub from tweets where id = 145452142414465
test $(sqlite3 twitter.db "select is_stub from tweets where id = 1454522147750260742") = 1
test $(sqlite3 twitter.db "select is_stub from tweets where id = 1454526270809726977") = 0
# Check that it downloaded the fetchable user's profile image
test $(find profile_images/WhaleTherapist_profile* | wc -l) -ne 0
handle="$(sqlite3 twitter.db "select handle from users where id like 1365863538393309184")"
test "$(find profile_images/${handle}_profile* | wc -l)" -ne 0
# Test an expanding ("Show more") tweet