Browse Source

Remove a missed alterId in test

yuhan6665 3 years ago
parent
commit
b4cdb6075b
1 changed files with 1 additions and 3 deletions
  1. 1 3
      testing/scenarios/vmess_test.go

+ 1 - 3
testing/scenarios/vmess_test.go

@@ -1444,7 +1444,6 @@ func TestVMessGCMLengthAuthPlusNoTerminationSignal(t *testing.T) {
 						{
 						{
 							Account: serial.ToTypedMessage(&vmess.Account{
 							Account: serial.ToTypedMessage(&vmess.Account{
 								Id:           userID.String(),
 								Id:           userID.String(),
-								AlterId:      64,
 								TestsEnabled: "AuthenticatedLength|NoTerminationSignal",
 								TestsEnabled: "AuthenticatedLength|NoTerminationSignal",
 							}),
 							}),
 						},
 						},
@@ -1492,8 +1491,7 @@ func TestVMessGCMLengthAuthPlusNoTerminationSignal(t *testing.T) {
 							User: []*protocol.User{
 							User: []*protocol.User{
 								{
 								{
 									Account: serial.ToTypedMessage(&vmess.Account{
 									Account: serial.ToTypedMessage(&vmess.Account{
-										Id:      userID.String(),
-										AlterId: 64,
+										Id: userID.String(),
 										SecuritySettings: &protocol.SecurityConfig{
 										SecuritySettings: &protocol.SecurityConfig{
 											Type: protocol.SecurityType_AES128_GCM,
 											Type: protocol.SecurityType_AES128_GCM,
 										},
 										},