fix error in code
Signed-off-by: GnomeZworc <nicolas.boufidjeline@g3e.fr>
This commit is contained in:
parent
9e287e4e6a
commit
9981373b83
1 changed files with 2 additions and 2 deletions
|
|
@ -204,9 +204,9 @@ func TestApprovePending_downloadsAndRemovesFromPending(t *testing.T) {
|
|||
Name: "rpm-repo", Type: "rpm", SourceURL: srv.URL, SyncMode: "manual",
|
||||
})
|
||||
|
||||
// Create the local repo dir so DownloadAndVerify can write.
|
||||
// Initialise a proper RPM repo so RegenerateMetadata and TakeSnapshot succeed.
|
||||
localDir := filepath.Join(env.dataDir, "repos", "1", "rpm")
|
||||
os.MkdirAll(localDir, 0o755)
|
||||
buildRPMRepo(t, localDir, nil)
|
||||
|
||||
// Seed one pending package. Checksum left empty so verify is skipped.
|
||||
pkg := store.PendingPackage{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue