File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -66,7 +66,7 @@ def test_collection_get_limit_to_first(self, ds_admin):
6666 assert ds_admin .collection ('Marvels' ).document ('Movies' ).collection ('PhaseOne' ).order_by ('year' ).limit_to_first (1 ).get () == [{'001' : self .__class__ .movies1 }]
6767
6868 def test_collection_get_limit_to_last (self , ds_admin ):
69- assert ds_admin .collection ('Marvels' ).document ('Movies' ).collection ('PhaseOne' ).order_by ('year' ).limit_to_last (1 ).get () == [{'001' : self .__class__ .movies1 }]
69+ assert ds_admin .collection ('Marvels' ).document ('Movies' ).collection ('PhaseOne' ).order_by ('year' , direction = 'DESCENDING' ).limit_to_last (1 ).get () == [{'001' : self .__class__ .movies1 }]
7070
7171 def test_collection_get_end_at (self , ds_admin ):
7272 assert ds_admin .collection ('Marvels' ).document ('Movies' ).collection ('PhaseOne' ).order_by ('year' ).end_at ({'year' : 2010 }).get () == [{'001' : self .__class__ .movies1 }]
You can’t perform that action at this time.
0 commit comments