From 58bb56f1f7fc1734179a3fb7b93e98a4e9656f75 Mon Sep 17 00:00:00 2001 From: wang yan Date: Wed, 5 Feb 2020 15:19:18 +0800 Subject: [PATCH] remove the expirations field from the robot test code in cherry pick Signed-off-by: wang yan --- src/pkg/robot/controller_test.go | 1 - 1 file changed, 1 deletion(-) diff --git a/src/pkg/robot/controller_test.go b/src/pkg/robot/controller_test.go index 4f388357a..604ef2ad1 100644 --- a/src/pkg/robot/controller_test.go +++ b/src/pkg/robot/controller_test.go @@ -83,7 +83,6 @@ func (s *ControllerTestSuite) TestRobotAccount() { robot3 := &model.RobotCreate{ Name: "robot3", Description: "TestCreateRobotAccount", - ExpiresAt: expiresAt, ProjectID: int64(11), Access: policies, }