@@ -544,7 +544,7 @@ func TestCancelPromise(t *testing.T) {
544
544
},
545
545
},
546
546
req : & t_api.Request {
547
- Kind : t_api .CancelPromise ,
547
+ Kind : t_api .CompletePromise ,
548
548
CompletePromise : & t_api.CompletePromiseRequest {
549
549
Id : "foo" ,
550
550
IdempotencyKey : util .ToPointer (idempotency .Key ("bar" )),
@@ -557,7 +557,7 @@ func TestCancelPromise(t *testing.T) {
557
557
},
558
558
},
559
559
res : & t_api.Response {
560
- Kind : t_api .CancelPromise ,
560
+ Kind : t_api .CompletePromise ,
561
561
CompletePromise : & t_api.CompletePromiseResponse {
562
562
Status : t_api .StatusCreated ,
563
563
Promise : & promise.Promise {
@@ -574,7 +574,7 @@ func TestCancelPromise(t *testing.T) {
574
574
Id : "foo" ,
575
575
},
576
576
req : & t_api.Request {
577
- Kind : t_api .CancelPromise ,
577
+ Kind : t_api .CompletePromise ,
578
578
CompletePromise : & t_api.CompletePromiseRequest {
579
579
Id : "foo" ,
580
580
IdempotencyKey : nil ,
@@ -587,7 +587,7 @@ func TestCancelPromise(t *testing.T) {
587
587
},
588
588
},
589
589
res : & t_api.Response {
590
- Kind : t_api .CancelPromise ,
590
+ Kind : t_api .CompletePromise ,
591
591
CompletePromise : & t_api.CompletePromiseResponse {
592
592
Status : t_api .StatusCreated ,
593
593
Promise : & promise.Promise {
@@ -604,7 +604,7 @@ func TestCancelPromise(t *testing.T) {
604
604
Id : "foo" ,
605
605
},
606
606
req : & t_api.Request {
607
- Kind : t_api .CancelPromise ,
607
+ Kind : t_api .CompletePromise ,
608
608
CompletePromise : & t_api.CompletePromiseRequest {
609
609
Id : "foo" ,
610
610
IdempotencyKey : nil ,
@@ -617,7 +617,7 @@ func TestCancelPromise(t *testing.T) {
617
617
},
618
618
},
619
619
res : & t_api.Response {
620
- Kind : t_api .CancelPromise ,
620
+ Kind : t_api .CompletePromise ,
621
621
CompletePromise : & t_api.CompletePromiseResponse {
622
622
Status : t_api .StatusPromiseAlreadyResolved ,
623
623
Promise : & promise.Promise {
@@ -687,7 +687,7 @@ func TestResolvePromise(t *testing.T) {
687
687
},
688
688
},
689
689
req : & t_api.Request {
690
- Kind : t_api .ResolvePromise ,
690
+ Kind : t_api .CompletePromise ,
691
691
CompletePromise : & t_api.CompletePromiseRequest {
692
692
Id : "foo" ,
693
693
IdempotencyKey : util .ToPointer (idempotency .Key ("bar" )),
@@ -700,7 +700,7 @@ func TestResolvePromise(t *testing.T) {
700
700
},
701
701
},
702
702
res : & t_api.Response {
703
- Kind : t_api .ResolvePromise ,
703
+ Kind : t_api .CompletePromise ,
704
704
CompletePromise : & t_api.CompletePromiseResponse {
705
705
Status : t_api .StatusCreated ,
706
706
Promise : & promise.Promise {
@@ -717,7 +717,7 @@ func TestResolvePromise(t *testing.T) {
717
717
Id : "foo" ,
718
718
},
719
719
req : & t_api.Request {
720
- Kind : t_api .ResolvePromise ,
720
+ Kind : t_api .CompletePromise ,
721
721
CompletePromise : & t_api.CompletePromiseRequest {
722
722
Id : "foo" ,
723
723
IdempotencyKey : nil ,
@@ -730,7 +730,7 @@ func TestResolvePromise(t *testing.T) {
730
730
},
731
731
},
732
732
res : & t_api.Response {
733
- Kind : t_api .ResolvePromise ,
733
+ Kind : t_api .CompletePromise ,
734
734
CompletePromise : & t_api.CompletePromiseResponse {
735
735
Status : t_api .StatusCreated ,
736
736
Promise : & promise.Promise {
@@ -747,7 +747,7 @@ func TestResolvePromise(t *testing.T) {
747
747
Id : "foo" ,
748
748
},
749
749
req : & t_api.Request {
750
- Kind : t_api .ResolvePromise ,
750
+ Kind : t_api .CompletePromise ,
751
751
CompletePromise : & t_api.CompletePromiseRequest {
752
752
Id : "foo" ,
753
753
IdempotencyKey : nil ,
@@ -760,7 +760,7 @@ func TestResolvePromise(t *testing.T) {
760
760
},
761
761
},
762
762
res : & t_api.Response {
763
- Kind : t_api .ResolvePromise ,
763
+ Kind : t_api .CompletePromise ,
764
764
CompletePromise : & t_api.CompletePromiseResponse {
765
765
Status : t_api .StatusPromiseAlreadyRejected ,
766
766
Promise : & promise.Promise {
@@ -830,7 +830,7 @@ func TestRejectPromise(t *testing.T) {
830
830
},
831
831
},
832
832
req : & t_api.Request {
833
- Kind : t_api .RejectPromise ,
833
+ Kind : t_api .CompletePromise ,
834
834
CompletePromise : & t_api.CompletePromiseRequest {
835
835
Id : "foo" ,
836
836
IdempotencyKey : util .ToPointer (idempotency .Key ("bar" )),
@@ -843,7 +843,7 @@ func TestRejectPromise(t *testing.T) {
843
843
},
844
844
},
845
845
res : & t_api.Response {
846
- Kind : t_api .RejectPromise ,
846
+ Kind : t_api .CompletePromise ,
847
847
CompletePromise : & t_api.CompletePromiseResponse {
848
848
Status : t_api .StatusCreated ,
849
849
Promise : & promise.Promise {
@@ -860,7 +860,7 @@ func TestRejectPromise(t *testing.T) {
860
860
Id : "foo" ,
861
861
},
862
862
req : & t_api.Request {
863
- Kind : t_api .RejectPromise ,
863
+ Kind : t_api .CompletePromise ,
864
864
CompletePromise : & t_api.CompletePromiseRequest {
865
865
Id : "foo" ,
866
866
IdempotencyKey : nil ,
@@ -873,7 +873,7 @@ func TestRejectPromise(t *testing.T) {
873
873
},
874
874
},
875
875
res : & t_api.Response {
876
- Kind : t_api .RejectPromise ,
876
+ Kind : t_api .CompletePromise ,
877
877
CompletePromise : & t_api.CompletePromiseResponse {
878
878
Status : t_api .StatusCreated ,
879
879
Promise : & promise.Promise {
@@ -890,7 +890,7 @@ func TestRejectPromise(t *testing.T) {
890
890
Id : "foo" ,
891
891
},
892
892
req : & t_api.Request {
893
- Kind : t_api .RejectPromise ,
893
+ Kind : t_api .CompletePromise ,
894
894
CompletePromise : & t_api.CompletePromiseRequest {
895
895
Id : "foo" ,
896
896
IdempotencyKey : nil ,
@@ -903,7 +903,7 @@ func TestRejectPromise(t *testing.T) {
903
903
},
904
904
},
905
905
res : & t_api.Response {
906
- Kind : t_api .RejectPromise ,
906
+ Kind : t_api .CompletePromise ,
907
907
CompletePromise : & t_api.CompletePromiseResponse {
908
908
Status : t_api .StatusPromiseAlreadyResolved ,
909
909
Promise : & promise.Promise {
0 commit comments