Fossil SCM
Fix json tests that no longer reflects default capabilities for anonymous.
Commit
9ba74ae04ee2e7aee2228feeae4b814b3eea36fb39fd949d5a03ce549494adc6
Parent
3fc08b763328382…
1 file changed
+1
-1
+1
-1
| --- test/json.test | ||
| +++ test/json.test | ||
| @@ -276,11 +276,11 @@ | ||
| 276 | 276 | proc test_hascaps {testname need caps} { |
| 277 | 277 | foreach n [split $need {}] { |
| 278 | 278 | test $testname-$n {[string first $n $caps] >= 0} |
| 279 | 279 | } |
| 280 | 280 | } |
| 281 | -test_hascaps json-login-c "hmnc" [dict get $AuthAnon capabilities] | |
| 281 | +test_hascaps json-login-c "hz" [dict get $AuthAnon capabilities] | |
| 282 | 282 | |
| 283 | 283 | fossil user new U1 User-1 Uone |
| 284 | 284 | fossil user capabilities U1 s |
| 285 | 285 | write_file u1 { |
| 286 | 286 | { |
| 287 | 287 |
| --- test/json.test | |
| +++ test/json.test | |
| @@ -276,11 +276,11 @@ | |
| 276 | proc test_hascaps {testname need caps} { |
| 277 | foreach n [split $need {}] { |
| 278 | test $testname-$n {[string first $n $caps] >= 0} |
| 279 | } |
| 280 | } |
| 281 | test_hascaps json-login-c "hmnc" [dict get $AuthAnon capabilities] |
| 282 | |
| 283 | fossil user new U1 User-1 Uone |
| 284 | fossil user capabilities U1 s |
| 285 | write_file u1 { |
| 286 | { |
| 287 |
| --- test/json.test | |
| +++ test/json.test | |
| @@ -276,11 +276,11 @@ | |
| 276 | proc test_hascaps {testname need caps} { |
| 277 | foreach n [split $need {}] { |
| 278 | test $testname-$n {[string first $n $caps] >= 0} |
| 279 | } |
| 280 | } |
| 281 | test_hascaps json-login-c "hz" [dict get $AuthAnon capabilities] |
| 282 | |
| 283 | fossil user new U1 User-1 Uone |
| 284 | fossil user capabilities U1 s |
| 285 | write_file u1 { |
| 286 | { |
| 287 |