瀏覽代碼

fix test break

v2ray 9 年之前
父節點
當前提交
242624de96
共有 1 個文件被更改,包括 8 次插入0 次删除
  1. 8 0
      proxy/vmess/protocol/vmess_test.go

+ 8 - 0
proxy/vmess/protocol/vmess_test.go

@@ -28,6 +28,14 @@ func (this *TestUser) Level() vmess.UserLevel {
 	return this.level
 }
 
+func (this *TestUser) AlterIDs() []*vmess.ID {
+	return nil
+}
+
+func (this *TestUser) AnyValidID() *vmess.ID {
+	return this.id
+}
+
 func TestVMessSerialization(t *testing.T) {
 	v2testing.Current(t)