1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2025-12-31 06:25:32 -05:00

fix broken tests

This commit is contained in:
Darien Raymond
2018-11-08 01:01:53 +01:00
parent 58221ebae1
commit df2d5b5d75
5 changed files with 48 additions and 16 deletions

View File

@@ -56,7 +56,9 @@ func TestCommanderRemoveHandler(t *testing.T) {
Rule: []*router.RoutingRule{
{
InboundTag: []string{"api"},
Tag: "api",
TargetTag: &router.RoutingRule_Tag{
Tag: "api",
},
},
},
}),
@@ -173,7 +175,9 @@ func TestCommanderAddRemoveUser(t *testing.T) {
Rule: []*router.RoutingRule{
{
InboundTag: []string{"api"},
Tag: "api",
TargetTag: &router.RoutingRule_Tag{
Tag: "api",
},
},
},
}),
@@ -381,7 +385,9 @@ func TestCommanderStats(t *testing.T) {
Rule: []*router.RoutingRule{
{
InboundTag: []string{"api"},
Tag: "api",
TargetTag: &router.RoutingRule_Tag{
Tag: "api",
},
},
},
}),