예제 #1
0
        public async Task UploadAndUnlistPackagesAsSelf()
        {
            // Can push new package ID as self
            var id = UploadHelper.GetUniquePackageId(nameof(UploadAndUnlistPackagesAsSelf));
            await _clientSdkHelper.UploadNewPackageAndVerify(id, "1.0.0");

            // Can push new version of an existing package as self
            await _clientSdkHelper.UploadNewPackageAndVerify(id, "2.0.0");

            // Can unlist versions of an existing package as self
            await _clientSdkHelper.UnlistPackageAndVerify(id, "2.0.0");
        }