Example #1
0
        public async Task UploadMultipleVersionOfPackage()
        {
            var packageId = string.Format("TestMultipleVersion.{0}", DateTime.Now.Ticks);

            await _clientSdkHelper.UploadNewPackage(packageId, "1.0.0");

            await _clientSdkHelper.UploadNewPackage(packageId, "2.0.0");

            await _clientSdkHelper.VerifyPackageExistsInV2AndV3Async(packageId, "1.0.0");

            await _clientSdkHelper.VerifyPackageExistsInV2AndV3Async(packageId, "2.0.0");

            await _clientSdkHelper.VerifyVersionCountAsync(packageId, 2);
        }