Skip to content

Commit

Permalink
fix remaining
Browse files Browse the repository at this point in the history
  • Loading branch information
yao-msft committed Nov 3, 2023
1 parent 7585e34 commit abe58c3
Show file tree
Hide file tree
Showing 11 changed files with 11 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,7 @@ namespace AppInstaller::CLI::Configuration
{
if (!package.Version.empty())
{
auto versionKeys = searchResult.Matches.at(0).Package->GetAvailableVersionKeys();
auto versionKeys = searchResult.Matches.at(0).Package->GetAvailableVersionKeys(Repository::PinBehavior::IgnorePins);
bool foundVersion = false;
for (auto const& versionKey : versionKeys)
{
Expand Down
2 changes: 1 addition & 1 deletion src/AppInstallerCLICore/Workflows/ConfigurationFlow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1401,7 +1401,7 @@ namespace AppInstaller::CLI::Workflow
auto moduleName = Utility::ConvertToUTF8(unit.Details().ModuleName());
if (Utility::CaseInsensitiveEquals(wingetUnitValidator.ModuleName(), moduleName))
{
auto result = wingetUnitValidator.ValidateConfigurationSetUnit(context, unit);
bool result = wingetUnitValidator.ValidateConfigurationSetUnit(context, unit);
if (!result)
{
foundIssues = true;
Expand Down
2 changes: 1 addition & 1 deletion src/AppInstallerCLIE2ETests/ConfigureValidateCommand.cs
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ public void ValidateWinGetDscResource_PackageNotFound()
[Test]
public void ValidateWinGetDscResource_PackageVersionNotFound()
{
var result = TestCommon.RunAICLICommand(Command, TestCommon.GetTestDataFile("Configuration\\inGetDscResourceValidate_PackageVersionNotFound.yml"), timeOut: 120000);
var result = TestCommon.RunAICLICommand(Command, TestCommon.GetTestDataFile("Configuration\\WinGetDscResourceValidate_PackageVersionNotFound.yml"), timeOut: 120000);
Assert.AreEqual(Constants.ErrorCode.S_FALSE, result.ExitCode);
Assert.True(result.StdOut.Contains("WinGetPackage configuration unit package cannot be validated. Package version not found. Package Id: AppInstallerTest.TestExeInstaller; Version 101.0.101.0"));
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@ properties:
settings:
id: AppInstallerTest.TestExeInstaller
source: TestSource
version: 1.0.1.0
version: "1.0.1.0"

Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,5 @@ properties:
settings:
id: AppInstallerTest.TestExeInstaller
source: TestSource
version: 1.0.1.0
version: "1.0.1.0"

Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,5 @@ properties:
settings:
id: AppInstallerTest.DoesNotExist
source: TestSource
version: 1.0.1.0
version: "1.0.1.0"

Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,5 @@ properties:
settings:
id: AppInstallerTest.TestExeInstaller
source: TestSource
version: 101.0.101.0
version: "101.0.101.0"

Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,5 @@ properties:
settings:
id: AppInstallerTest.TestExeInstaller
source: TestSourceV2
version: 1.0.1.0
version: "1.0.1.0"

Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,5 @@ properties:
settings:
id: AppInstallerTest.TestValidManifest
source: TestSource
version: 1.0.0.0
version: "1.0.0.0"

Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@ properties:
settings:
id: AppInstallerTest.TestExeInstaller
source: TestSource
version: 1.0.1.0
version: "1.0.1.0"
useLatest: true

2 changes: 1 addition & 1 deletion src/LocalhostWebServer/Run-LocalhostWebServer.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -51,4 +51,4 @@ if (-not [System.String]::IsNullOrEmpty($sourceCert))

cd $BuildRoot

Start-Process -FilePath "LocalhostWebServer.exe" -ArgumentList "StaticFileRoot=$StaticFileRoot CertPath=$CertPath CertPassword=$CertPassword OutCertFile=$OutCertFile LocalSourceJson=$LocalSourceJson TestDataPath=$TestDaaPath"
Start-Process -FilePath "LocalhostWebServer.exe" -ArgumentList "StaticFileRoot=$StaticFileRoot CertPath=$CertPath CertPassword=$CertPassword OutCertFile=$OutCertFile LocalSourceJson=$LocalSourceJson TestDataPath=$TestDataPath"

0 comments on commit abe58c3

Please sign in to comment.