Compare commits
1
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
9cb4bc152c |
@@ -230,12 +230,6 @@ func TestLowestPercentageApplies(t *testing.T) {
|
|||||||
map[string]string{asnLimitPercent: "AS64500:50", unknownLimitPercent: "25"},
|
map[string]string{asnLimitPercent: "AS64500:50", unknownLimitPercent: "25"},
|
||||||
noCountry, "25 from " + unknownLimitPercent,
|
noCountry, "25 from " + unknownLimitPercent,
|
||||||
},
|
},
|
||||||
{
|
|
||||||
// SWWAF_UNKNOWN_LIMIT_PERCENT is left at its default, 100.
|
|
||||||
"the AS number's, for a client without a country",
|
|
||||||
map[string]string{asnLimitPercent: "AS64500:25"},
|
|
||||||
noCountry, "25 from " + asnLimitPercent,
|
|
||||||
},
|
|
||||||
} {
|
} {
|
||||||
t.Run(tc.name, func(t *testing.T) {
|
t.Run(tc.name, func(t *testing.T) {
|
||||||
t.Parallel()
|
t.Parallel()
|
||||||
|
|||||||
Reference in New Issue
Block a user