File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -576,6 +576,8 @@ func TestRetrieveAll(t *testing.T) {
576
576
Page : channels.Page {
577
577
Offset : 0 ,
578
578
Limit : 10 ,
579
+ Order : "created_at" ,
580
+ Dir : "asc" ,
579
581
},
580
582
},
581
583
response : channels.ChannelsPage {
@@ -594,6 +596,8 @@ func TestRetrieveAll(t *testing.T) {
594
596
Page : channels.Page {
595
597
Offset : 10 ,
596
598
Limit : 10 ,
599
+ Order : "created_at" ,
600
+ Dir : "asc" ,
597
601
},
598
602
},
599
603
response : channels.ChannelsPage {
@@ -612,6 +616,8 @@ func TestRetrieveAll(t *testing.T) {
612
616
Page : channels.Page {
613
617
Offset : 0 ,
614
618
Limit : 50 ,
619
+ Order : "created_at" ,
620
+ Dir : "asc" ,
615
621
},
616
622
},
617
623
response : channels.ChannelsPage {
@@ -630,6 +636,8 @@ func TestRetrieveAll(t *testing.T) {
630
636
Page : channels.Page {
631
637
Offset : 50 ,
632
638
Limit : 50 ,
639
+ Order : "created_at" ,
640
+ Dir : "asc" ,
633
641
},
634
642
},
635
643
response : channels.ChannelsPage {
@@ -648,6 +656,8 @@ func TestRetrieveAll(t *testing.T) {
648
656
Page : channels.Page {
649
657
Offset : 1000 ,
650
658
Limit : 50 ,
659
+ Order : "created_at" ,
660
+ Dir : "desc" ,
651
661
},
652
662
},
653
663
response : channels.ChannelsPage {
@@ -666,6 +676,8 @@ func TestRetrieveAll(t *testing.T) {
666
676
Page : channels.Page {
667
677
Offset : 170 ,
668
678
Limit : 50 ,
679
+ Order : "created_at" ,
680
+ Dir : "asc" ,
669
681
},
670
682
},
671
683
response : channels.ChannelsPage {
You can’t perform that action at this time.
0 commit comments