Skip to content

Commit a25ae77

Browse files
committed
test fixes
1 parent 066cd87 commit a25ae77

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/tests/Find-MarkdownImages.Tests.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,7 @@ Describe "Find-MarkdownImages" {
298298
It "Should use attachments directory user preference if available" {
299299
# arrange
300300
InModuleScope PSBlogger {
301-
$BloggerSession.AttachmentsDirectory = Get-TestFilePath "attachments"
301+
$BloggerSession.AttachmentsDirectory = Join-Path "TestDrive:" "attachments"
302302
}
303303

304304
# use a markdown file that is a sibling to attachments directory to ensure

src/tests/Get-BloggerPost.Tests.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ Describe "Get-BloggerPost" {
194194

195195
$postId = "123"
196196
$title = "Test Post"
197-
$outFile = Get-TestFile "$title.md"
197+
$outFile = Get-TestFilePath "$title.md"
198198
}
199199

200200
AfterEach {

0 commit comments

Comments
 (0)