mirror of
https://github.com/goharbor/harbor.git
synced 2024-11-25 11:46:43 +01:00
Merge pull request #11389 from wy65701436/fix-dao-ut
fix artifact dao UT issue
This commit is contained in:
commit
9ca87b85a5
@ -379,8 +379,8 @@ func (d *daoTestSuite) TestUpdate() {
|
||||
now := time.Now()
|
||||
err := d.dao.Update(d.ctx, &Artifact{
|
||||
ID: d.parentArtID,
|
||||
PushTime: now,
|
||||
}, "PushTime")
|
||||
PullTime: now,
|
||||
}, "PullTime")
|
||||
d.Require().Nil(err)
|
||||
|
||||
artifact, err := d.dao.Get(d.ctx, d.parentArtID)
|
||||
|
Loading…
Reference in New Issue
Block a user