Skip to content

Commit

Permalink
Fix localization
Browse files Browse the repository at this point in the history
  • Loading branch information
johlju committed Feb 13, 2024
1 parent d940fc1 commit 8f6d046
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 11 deletions.
7 changes: 0 additions & 7 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -328,13 +328,6 @@ stages:
buildType: 'current'
artifactName: $(buildArtifactName)
targetPath: '$(Build.SourcesDirectory)/$(buildFolderName)'
# - task: PowerShell@2
# name: configureWinRM
# displayName: 'Configure WinRM'
# inputs:
# targetType: 'inline'
# script: 'winrm quickconfig -quiet'
# pwsh: false
- task: PowerShell@2
name: test
displayName: 'Run Integration Test'
Expand Down
4 changes: 2 additions & 2 deletions source/Classes/020.BootstrapPSResourceGet.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -84,14 +84,14 @@ class BootstrapPSResourceGet : ResourceBase
[DscProperty()]
[ValidateSet('CurrentUser', 'AllUsers')]
[System.String]
$ModuleScope
$Scope

# The Version is evaluated if exist in AssertProperties().
[DscProperty()]
[System.String]
$Version

BootstrapPSResourceGet () : base ()
BootstrapPSResourceGet () : base ($PSScriptRoot)
{
# These properties will not be enforced.
$this.ExcludeDscProperties = @(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ Describe "$($script:dscResourceName)_Integration" -Tag @('DSC') {
}

#$resourceCurrentState.IsSingleInstance | Should -Be 'Yes'
$resourceCurrentState.ModuleScope | Should -Be 'CurrentUser'
$resourceCurrentState.Scope | Should -Be 'CurrentUser'
}

It 'Should return ''True'' when Test-DscConfiguration is run' {
Expand Down
2 changes: 1 addition & 1 deletion tests/Integration/DSC_BootstrapPSResourceGet.config.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ Configuration DSC_BootstrapPSResourceGet_CurrentUser_Config
PSResourceGetBootstrap 'Integration_Test'
{
IsSingleInstance = 'Yes'
ModuleScope = 'CurrentUser'
Scope = 'CurrentUser'
}
}
}

0 comments on commit 8f6d046

Please sign in to comment.