diff options
author | KN4CK3R <admin@oldschoolhack.me> | 2022-10-07 06:22:05 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-07 12:22:05 +0800 |
commit | 30ca91666ebd3168923baa82b4a17b039039d0a9 (patch) | |
tree | 5ec55f92aec574e8e35a1f2bd675047e8eb4f94b /tests | |
parent | 34f509eb7a48e698114261de323834482553a98c (diff) | |
download | gitea-30ca91666ebd3168923baa82b4a17b039039d0a9.tar.gz gitea-30ca91666ebd3168923baa82b4a17b039039d0a9.zip |
Set SemverCompatible to false for Conan packages (#21275)
Fixes #21250
Related #20414
Conan packages don't have to follow SemVer.
The migration fixes the setting for all existing Conan and Generic
(#20414) packages.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/integration/api_packages_conan_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/integration/api_packages_conan_test.go b/tests/integration/api_packages_conan_test.go index 5b34417343..40c8b70883 100644 --- a/tests/integration/api_packages_conan_test.go +++ b/tests/integration/api_packages_conan_test.go @@ -267,7 +267,7 @@ func TestPackageConan(t *testing.T) { pd, err := packages.GetPackageDescriptor(db.DefaultContext, pvs[0]) assert.NoError(t, err) - assert.NotNil(t, pd.SemVer) + assert.Nil(t, pd.SemVer) assert.Equal(t, name, pd.Package.Name) assert.Equal(t, version1, pd.Version.Version) assert.IsType(t, &conan_module.Metadata{}, pd.Metadata) |