@@ -1102,6 +1102,8 @@ func (suite *RepositoryConfigSuite) TestFetch() {
11021102 assert .Equal (t , found .Name , fetched .Name )
11031103 assert .Equal (t , found .Repository .URL , fetched .URL )
11041104 assert .Equal (t , found .LastSnapshot .UUID , fetched .LastSnapshot .UUID )
1105+ assert .Equal (t , found .UUID , fetched .LastSnapshot .RepositoryUUID )
1106+ assert .Equal (t , found .Name , fetched .LastSnapshot .RepositoryName )
11051107
11061108 if config .Get ().Features .Snapshots .Enabled {
11071109 assert .Equal (t , testContentPath + "/" , fetched .LastSnapshot .URL )
@@ -1269,6 +1271,8 @@ func (suite *RepositoryConfigSuite) TestList() {
12691271 assert .Equal (t , repoConfig .Repository .URL , response .Data [0 ].URL )
12701272 assert .Equal (t , repoConfig .LastSnapshot .UUID , response .Data [0 ].LastSnapshot .UUID )
12711273 assert .Equal (t , repoConfig .LastSnapshot .RepositoryPath , response .Data [0 ].LastSnapshot .RepositoryPath )
1274+ assert .Equal (t , repoConfig .UUID , response .Data [0 ].LastSnapshot .RepositoryUUID )
1275+ assert .Equal (t , repoConfig .Name , response .Data [0 ].LastSnapshot .RepositoryName )
12721276 if config .Get ().Features .Snapshots .Enabled {
12731277 assert .Equal (t , testContentPath + "/" , response .Data [0 ].LastSnapshot .URL )
12741278 }
0 commit comments