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

            await _clientSdkHelper.UploadNewPackageAndVerify(packageId);

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

            int actualCount = _clientSdkHelper.GetVersionCount(packageId);

            var userMessage = string.Format(" 2 versions of package {0} not found after uploading. Actual versions found {1}", packageId, actualCount);

            Assert.True(actualCount.Equals(2), userMessage);
        }