File tree Expand file tree Collapse file tree 9 files changed +153
-56
lines changed Expand file tree Collapse file tree 9 files changed +153
-56
lines changed Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ load 'utils/_helpers'
30
30
31
31
@test " groups: Add a group to a non existing user list" {
32
32
resource_post " $_GROUPS_BASE_PATH " " data/post.json" " userlist=fake&=force_reload=true"
33
- assert_equal " $SC " 400
33
+ assert_equal " $SC " 404
34
34
}
35
35
36
36
@test " groups: Add a malformed group" {
Original file line number Diff line number Diff line change 1
1
{
2
- "index" : 0 ,
3
2
"name" : " new" ,
4
3
"users" : null
5
4
}
Original file line number Diff line number Diff line change 1
1
{
2
- "index" : 0 ,
3
- "name" : " enigma" ,
2
+ "name" : " zion" ,
4
3
"users" : " trinity"
5
4
}
Original file line number Diff line number Diff line change @@ -42,4 +42,3 @@ load 'utils/_helpers'
42
42
resource_put " $_GROUPS_BASE_PATH /1000" " data/replace.json" " userlist=fake&force_reload=true"
43
43
assert_equal " $SC " 404
44
44
}
45
-
Original file line number Diff line number Diff line change 1
1
{
2
- "index" : 0 ,
3
2
"username" : " new" ,
4
3
"secure_password" : false ,
5
4
"password" : " new" ,
Original file line number Diff line number Diff line change 1
1
{
2
- "index" : 0 ,
3
- "username" : " enigma" ,
2
+ "username" : " trinity" ,
4
3
"secure_password" : false ,
5
4
"password" : " reality" ,
6
5
"groups" : null
Original file line number Diff line number Diff line change @@ -22,8 +22,8 @@ require (
22
22
github.com/go-openapi/validate v0.22.0
23
23
github.com/google/renameio v1.0.1
24
24
github.com/google/uuid v1.3.0
25
- github.com/haproxytech/client-native/v4 v4.0.1-0.20221101161502-b41c6b9880f1
26
- github.com/haproxytech/config-parser/v4 v4.0.1-0.20221101155822-bb83e776d3c8
25
+ github.com/haproxytech/client-native/v4 v4.0.1-0.20221128142255-7eceed461c56
26
+ github.com/haproxytech/config-parser/v4 v4.0.1-0.20221116162214-027124b8418d
27
27
github.com/hashicorp/consul/api v1.17.0
28
28
github.com/hashicorp/hcl v1.0.0
29
29
github.com/jessevdk/go-flags v1.5.0
Original file line number Diff line number Diff line change @@ -165,10 +165,10 @@ github.com/google/uuid v1.1.1/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+
165
165
github.com/google/uuid v1.3.0 h1:t6JiXgmwXMjEs8VusXIJk2BXHsn+wx8BZdTaoZ5fu7I =
166
166
github.com/google/uuid v1.3.0 /go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo =
167
167
github.com/gorilla/mux v1.8.0 /go.mod h1:DVbg23sWSpFRCP0SfiEN6jmj59UnW/n46BH5rLB71So =
168
- github.com/haproxytech/client-native/v4 v4.0.1-0.20221101161502-b41c6b9880f1 h1:CmmlRWfT0JUHd5T/78IE+rNfaGr/Scp7kd8+Y/QZI6s =
169
- github.com/haproxytech/client-native/v4 v4.0.1-0.20221101161502-b41c6b9880f1 /go.mod h1:JXPKBpmb/UmPUk2rx4Cq7OBIDgNP+Ngtdnc+2e0AYFo =
170
- github.com/haproxytech/config-parser/v4 v4.0.1-0.20221101155822-bb83e776d3c8 h1:1MbeJkpbbTmyDtSiJH13XKZkG2pYrSJJ6l5/dQcgWHU =
171
- github.com/haproxytech/config-parser/v4 v4.0.1-0.20221101155822-bb83e776d3c8 /go.mod h1:reXxQMovpfJxmc3WLu6UkL29F9hx/PSKHS2jl47M3gs =
168
+ github.com/haproxytech/client-native/v4 v4.0.1-0.20221128142255-7eceed461c56 h1:oUGGubRnhtAMD2bceXHU1JEwDH5QHpC7UzJKpQxxzuA =
169
+ github.com/haproxytech/client-native/v4 v4.0.1-0.20221128142255-7eceed461c56 /go.mod h1:ySJkKFKu/OFxdF5gF2CNWo0qbY15drBSlh8oGE4+rd4 =
170
+ github.com/haproxytech/config-parser/v4 v4.0.1-0.20221116162214-027124b8418d h1:lQohzyz+hvpkbDFGYIeR9Ghkn551IuTOnCtZRywHCEA =
171
+ github.com/haproxytech/config-parser/v4 v4.0.1-0.20221116162214-027124b8418d /go.mod h1:reXxQMovpfJxmc3WLu6UkL29F9hx/PSKHS2jl47M3gs =
172
172
github.com/haproxytech/go-logger v1.1.0 h1:HgGtYaI1ApkvbQdsm7f9AzQQoxTB7w37criTflh7IQE =
173
173
github.com/haproxytech/go-logger v1.1.0 /go.mod h1:OekUd8HCb7ubxMplzHUPBTHNxZmddOWfOjWclZsqIeM =
174
174
github.com/hashicorp/consul/api v1.17.0 h1:aqytbw31uCPNn37ST+717IyGod+P1eTgSGu3yjRo4bs =
You can’t perform that action at this time.
0 commit comments