mirror of
https://github.com/containous/traefik.git
synced 2025-03-19 18:50:12 +03:00
Add additional tests for PathStrip{Prefix}.
This commit is contained in:
parent
f7d9dfafd0
commit
b392023c37
@ -337,10 +337,20 @@ func TestRuleType(t *testing.T) {
|
||||
frontendRuleType: ruleTypePathPrefix,
|
||||
},
|
||||
{
|
||||
desc: "rule type annotation set",
|
||||
desc: "Path rule type annotation set",
|
||||
ingressRuleType: "Path",
|
||||
frontendRuleType: "Path",
|
||||
},
|
||||
{
|
||||
desc: "PathStrip rule type annotation set",
|
||||
ingressRuleType: "PathStrip",
|
||||
frontendRuleType: "PathStrip",
|
||||
},
|
||||
{
|
||||
desc: "PathStripPrefix rule type annotation set",
|
||||
ingressRuleType: "PathStripPrefix",
|
||||
frontendRuleType: "PathStripPrefix",
|
||||
},
|
||||
}
|
||||
|
||||
for _, test := range tests {
|
||||
|
Loading…
x
Reference in New Issue
Block a user