@@ -667,9 +667,9 @@ func Test_getWorkflowRunHandler(t *testing.T) {
667
667
668
668
//Prepare request
669
669
vars := map [string ]string {
670
- "key" : proj .Key ,
671
- "permWorkflowName " : w1 .Name ,
672
- "number" : "9" ,
670
+ "key" : proj .Key ,
671
+ "permWorkflowNameAdvanced " : w1 .Name ,
672
+ "number" : "9" ,
673
673
}
674
674
uri := router .GetRoute ("GET" , api .getWorkflowRunHandler , vars )
675
675
test .NotEmpty (t , uri )
@@ -1429,9 +1429,9 @@ func Test_postWorkflowRunAsyncFailedHandler(t *testing.T) {
1429
1429
for {
1430
1430
t .Logf ("Attempt getWorkflowRunHandler #%d" , cpt )
1431
1431
varsGet := map [string ]string {
1432
- "key" : proj .Key ,
1433
- "permWorkflowName " : w1 .Name ,
1434
- "number" : "1" ,
1432
+ "key" : proj .Key ,
1433
+ "permWorkflowNameAdvanced " : w1 .Name ,
1434
+ "number" : "1" ,
1435
1435
}
1436
1436
uriGet := router .GetRoute ("GET" , api .getWorkflowRunHandler , varsGet )
1437
1437
reqGet := assets .NewAuthentifiedRequest (t , u , pass , "GET" , uriGet , nil )
@@ -1969,9 +1969,9 @@ func Test_postWorkflowRunHandlerMutexRelease(t *testing.T) {
1969
1969
try ++
1970
1970
t .Logf ("Attempt #%d on getWorkflowRunHandler for run 1" , try )
1971
1971
uri := router .GetRoute ("GET" , api .getWorkflowRunHandler , map [string ]string {
1972
- "key" : proj .Key ,
1973
- "permWorkflowName " : wkf .Name ,
1974
- "number" : "1" ,
1972
+ "key" : proj .Key ,
1973
+ "permWorkflowNameAdvanced " : wkf .Name ,
1974
+ "number" : "1" ,
1975
1975
})
1976
1976
req := assets .NewAuthentifiedRequest (t , u , jwt , "GET" , uri , nil )
1977
1977
rec := httptest .NewRecorder ()
@@ -2015,9 +2015,9 @@ func Test_postWorkflowRunHandlerMutexRelease(t *testing.T) {
2015
2015
try ++
2016
2016
t .Logf ("Attempt #%d on getWorkflowRunHandler for run 2" , try )
2017
2017
uri := router .GetRoute ("GET" , api .getWorkflowRunHandler , map [string ]string {
2018
- "key" : proj .Key ,
2019
- "permWorkflowName " : wkf .Name ,
2020
- "number" : "2" ,
2018
+ "key" : proj .Key ,
2019
+ "permWorkflowNameAdvanced " : wkf .Name ,
2020
+ "number" : "2" ,
2021
2021
})
2022
2022
req := assets .NewAuthentifiedRequest (t , u , jwt , "GET" , uri , nil )
2023
2023
rec := httptest .NewRecorder ()
@@ -2064,9 +2064,9 @@ func Test_postWorkflowRunHandlerMutexRelease(t *testing.T) {
2064
2064
try ++
2065
2065
t .Logf ("Attempt #%d on getWorkflowRunHandler for run 3" , try )
2066
2066
uri := router .GetRoute ("GET" , api .getWorkflowRunHandler , map [string ]string {
2067
- "key" : proj .Key ,
2068
- "permWorkflowName " : wkf .Name ,
2069
- "number" : "3" ,
2067
+ "key" : proj .Key ,
2068
+ "permWorkflowNameAdvanced " : wkf .Name ,
2069
+ "number" : "3" ,
2070
2070
})
2071
2071
req := assets .NewAuthentifiedRequest (t , u , jwt , "GET" , uri , nil )
2072
2072
rec := httptest .NewRecorder ()
@@ -2110,9 +2110,9 @@ func Test_postWorkflowRunHandlerMutexRelease(t *testing.T) {
2110
2110
try ++
2111
2111
t .Logf ("Attempt #%d on getWorkflowRunHandler for run 1" , try )
2112
2112
uri := router .GetRoute ("GET" , api .getWorkflowRunHandler , map [string ]string {
2113
- "key" : proj .Key ,
2114
- "permWorkflowName " : wkf .Name ,
2115
- "number" : "1" ,
2113
+ "key" : proj .Key ,
2114
+ "permWorkflowNameAdvanced " : wkf .Name ,
2115
+ "number" : "1" ,
2116
2116
})
2117
2117
req := assets .NewAuthentifiedRequest (t , u , jwt , "GET" , uri , nil )
2118
2118
rec := httptest .NewRecorder ()
@@ -2142,9 +2142,9 @@ func Test_postWorkflowRunHandlerMutexRelease(t *testing.T) {
2142
2142
try ++
2143
2143
t .Logf ("Attempt #%d on getWorkflowRunHandler for run 2" , try )
2144
2144
uri := router .GetRoute ("GET" , api .getWorkflowRunHandler , map [string ]string {
2145
- "key" : proj .Key ,
2146
- "permWorkflowName " : wkf .Name ,
2147
- "number" : "2" ,
2145
+ "key" : proj .Key ,
2146
+ "permWorkflowNameAdvanced " : wkf .Name ,
2147
+ "number" : "2" ,
2148
2148
})
2149
2149
req := assets .NewAuthentifiedRequest (t , u , jwt , "GET" , uri , nil )
2150
2150
rec := httptest .NewRecorder ()
@@ -2174,9 +2174,9 @@ func Test_postWorkflowRunHandlerMutexRelease(t *testing.T) {
2174
2174
try ++
2175
2175
t .Logf ("Attempt #%d on getWorkflowRunHandler for run 3" , try )
2176
2176
uri := router .GetRoute ("GET" , api .getWorkflowRunHandler , map [string ]string {
2177
- "key" : proj .Key ,
2178
- "permWorkflowName " : wkf .Name ,
2179
- "number" : "3" ,
2177
+ "key" : proj .Key ,
2178
+ "permWorkflowNameAdvanced " : wkf .Name ,
2179
+ "number" : "3" ,
2180
2180
})
2181
2181
req := assets .NewAuthentifiedRequest (t , u , jwt , "GET" , uri , nil )
2182
2182
rec := httptest .NewRecorder ()
@@ -2812,9 +2812,9 @@ func Test_deleteWorkflowRunHandler(t *testing.T) {
2812
2812
assert .NoError (t , err )
2813
2813
//Prepare request
2814
2814
vars := map [string ]string {
2815
- "key" : proj .Key ,
2816
- "permWorkflowName " : w1 .Name ,
2817
- "number" : fmt .Sprintf ("%d" , wr .Number ),
2815
+ "key" : proj .Key ,
2816
+ "permWorkflowNameAdvanced " : w1 .Name ,
2817
+ "number" : fmt .Sprintf ("%d" , wr .Number ),
2818
2818
}
2819
2819
uri := router .GetRoute ("DELETE" , api .deleteWorkflowRunHandler , vars )
2820
2820
test .NotEmpty (t , uri )
@@ -2827,9 +2827,9 @@ func Test_deleteWorkflowRunHandler(t *testing.T) {
2827
2827
2828
2828
//Prepare request
2829
2829
vars = map [string ]string {
2830
- "key" : proj .Key ,
2831
- "permWorkflowName " : w1 .Name ,
2832
- "number" : fmt .Sprintf ("%d" , wr .Number ),
2830
+ "key" : proj .Key ,
2831
+ "permWorkflowNameAdvanced " : w1 .Name ,
2832
+ "number" : fmt .Sprintf ("%d" , wr .Number ),
2833
2833
}
2834
2834
uri = router .GetRoute ("GET" , api .getWorkflowRunHandler , vars )
2835
2835
test .NotEmpty (t , uri )
0 commit comments