mirror of
https://github.com/safing/portbase
synced 2025-04-13 22:19:09 +00:00
Fix version selection test
This commit is contained in:
parent
a9dffddd7e
commit
85db3d9776
1 changed files with 2 additions and 0 deletions
|
@ -45,6 +45,8 @@ func TestVersionSelection(t *testing.T) {
|
|||
registry.UsePreReleases = true
|
||||
registry.DevMode = true
|
||||
registry.Online = true
|
||||
res.Index = &Index{AutoDownload: true}
|
||||
|
||||
res.selectVersion()
|
||||
if res.SelectedVersion.VersionNumber != "0.0.0" {
|
||||
t.Errorf("selected version should be 0.0.0, not %s", res.SelectedVersion.VersionNumber)
|
||||
|
|
Loading…
Add table
Reference in a new issue