test: twitterapi: fix the test breakage for real

2 jobs for bugfix/rich-media-image-nil in 3 minutes and 41 seconds (queued for 3 seconds)
Status Job ID Name Coverage
  Lint
passed #15681
lint

00:01:14

 
  Test
passed #15682
unit-testing

00:02:26