Skip to content

Commit e40306c

Browse files
committed
Add test case for missing field videos
1 parent f2e1c31 commit e40306c

File tree

1 file changed

+54
-0
lines changed

1 file changed

+54
-0
lines changed

fixtures/media_search.json

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -648,6 +648,60 @@
648648
"profile_picture": "http://distillery.s3.amazonaws.com/profiles/profile_113603_75sq_1287035206.jpg",
649649
"id": "113603"
650650
}
651+
},
652+
{
653+
"type": "video",
654+
"tags": [],
655+
"location": {
656+
"latitude": 37.775180799999987,
657+
"id": "68841",
658+
"longitude": -122.2270716,
659+
"name": "El Novillo Taco Truck"
660+
},
661+
"comments": {
662+
"count": 0
663+
},
664+
"caption": {
665+
"created_time": "1287585453",
666+
"text": "Type video without having videos in data",
667+
"from": {
668+
"username": "darodriguez",
669+
"first_name": "David",
670+
"last_name": "Rodriguez",
671+
"type": "user",
672+
"id": "113603"
673+
},
674+
"id": "495311"
675+
},
676+
"link": "http://localhost:8000/p/C5Wr/",
677+
"likes": {
678+
"count": 0
679+
},
680+
"created_time": "1287585407",
681+
"images": {
682+
"low_resolution": {
683+
"url": "http://distillery-dev.s3.amazonaws.com/media/2010/10/20/1fde15405b6349ef949c9a8f5498868e_6.jpg",
684+
"width": 480,
685+
"height": 480
686+
},
687+
"thumbnail": {
688+
"url": "http://distillery-dev.s3.amazonaws.com/media/2010/10/20/1fde15405b6349ef949c9a8f5498868e_5.jpg",
689+
"width": 150,
690+
"height": 150
691+
},
692+
"standard_resolution": {
693+
"url": "http://distillery-dev.s3.amazonaws.com/media/2010/10/20/1fde15405b6349ef949c9a8f5498868e_7.jpg",
694+
"width": 612,
695+
"height": 612
696+
}
697+
},
698+
"user_has_liked": false,
699+
"id": "759211",
700+
"user": {
701+
"username": "darodriguez",
702+
"profile_picture": "http://distillery.s3.amazonaws.com/profiles/profile_113603_75sq_1287035206.jpg",
703+
"id": "113603"
704+
}
651705
}
652706
]
653707
}

0 commit comments

Comments
 (0)