Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion tests/Get-PlasterManifestPathForCulture.Tests.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Describe 'Get-PlasterManifestPathForCulture' {
Context "when given a template path and culture" {
InModuleScope $env:BHProjectName {
It "returns the manifest for the specified culture" {
$culture = Get-Culture -name "en-US"
$culture = New-Object System.Globalization.CultureInfo("en-US")
$plasterManifestFilename = "plasterManifest_en-US.xml"
Mock -CommandName 'Test-Path' -MockWith { $true } -ParameterFilter { $Path -like "*$($script:examplesPath)" }
$manifestPath = Get-PlasterManifestPathForCulture -TemplatePath $script:examplesPath -Culture $culture
Expand Down
Loading