remove the expirations field from the robot test code in cherry pick

Signed-off-by: wang yan <wangyan@vmware.com>
This commit is contained in:
wang yan 2020-02-05 15:19:18 +08:00
parent 5c657f0216
commit 58bb56f1f7

View File

@ -83,7 +83,6 @@ func (s *ControllerTestSuite) TestRobotAccount() {
robot3 := &model.RobotCreate{
Name: "robot3",
Description: "TestCreateRobotAccount",
ExpiresAt: expiresAt,
ProjectID: int64(11),
Access: policies,
}