From 5e3f967a507c449caf3a15aa4076b77680dd6967 Mon Sep 17 00:00:00 2001 From: Steve Lee Date: Thu, 11 Oct 2018 12:49:03 -0700 Subject: [PATCH] remove package tests as we have DependABot enabled to keep packages updated --- test/common/package/package.tests.ps1 | 68 --------------------------- 1 file changed, 68 deletions(-) delete mode 100644 test/common/package/package.tests.ps1 diff --git a/test/common/package/package.tests.ps1 b/test/common/package/package.tests.ps1 deleted file mode 100644 index c7663ec1fe2..00000000000 --- a/test/common/package/package.tests.ps1 +++ /dev/null @@ -1,68 +0,0 @@ -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. - -$moduleRootFilePath = Split-Path -Path $PSScriptRoot -Parent - -# Identify the repository root path of the resource module -$repoRootPath = (Resolve-Path -LiteralPath (Join-path $moduleRootFilePath "../..")).ProviderPath - -Import-Module "$repoRootPath/tools/releaseTools.psm1" - -Describe 'Common Tests - Package Reference' -Tag 'CI' { - BeforeAll { - $testCases = @() - Get-NewOfficalPackage -IncludeAll | ForEach-Object { - $testCases += @{ - CsProj = $_.CsProj - PackageName = $_.PackageName - CsProjVersion = $_.CsProjVersion - NuGetRevision = $_.NuGetRevision - NuGetVersion = $_.NuGetVersion - } - } - } - - # This test should always be enabled - It " reference to should not need to be updated by a revision" -TestCases $testCases { - param( - [string] - $CsProj, - - [string] - $PackageName, - - [string] - $CsProjVersion, - - [string] - $NuGetRevision, - - [string] - $NuGetVersion - ) - - $NuGetRevision | Should -BeExactly $CsProjVersion - } - - # This test should be enabled when we are developing - It " reference to should not need to be updated by a new version" -TestCases $testCases { - param( - [string] - $CsProj, - - [string] - $PackageName, - - [string] - $CsProjVersion, - - [string] - $NuGetRevision, - - [string] - $NuGetVersion - ) - - $NuGetVersion | Should -BeExactly $CsProjVersion - } -}