mirror of
https://github.com/goharbor/harbor.git
synced 2025-02-17 04:11:24 +01:00
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:
parent
5c657f0216
commit
58bb56f1f7
@ -83,7 +83,6 @@ func (s *ControllerTestSuite) TestRobotAccount() {
|
|||||||
robot3 := &model.RobotCreate{
|
robot3 := &model.RobotCreate{
|
||||||
Name: "robot3",
|
Name: "robot3",
|
||||||
Description: "TestCreateRobotAccount",
|
Description: "TestCreateRobotAccount",
|
||||||
ExpiresAt: expiresAt,
|
|
||||||
ProjectID: int64(11),
|
ProjectID: int64(11),
|
||||||
Access: policies,
|
Access: policies,
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user