Compare commits

...

2 Commits

Author SHA1 Message Date
Michael Bolin
b6cf81a9f7 Fix Windows provider auth test helpers 2026-03-31 14:12:24 -07:00
Michael Bolin
29ca9b1423 Fix Windows external bearer refresh test 2026-03-31 12:37:13 -07:00
3 changed files with 3 additions and 3 deletions

View File

@@ -145,7 +145,7 @@ mv tokens.next tokens.txt
let script_path = tempdir.path().join("print-token.ps1");
std::fs::write(
&script_path,
r#"$lines = Get-Content -Path tokens.txt
r#"$lines = @(Get-Content -Path tokens.txt)
if ($lines.Count -eq 0) { exit 1 }
Write-Output $lines[0]
$lines | Select-Object -Skip 1 | Set-Content -Path tokens.txt

View File

@@ -190,7 +190,7 @@ mv tokens.next tokens.txt
let script_path = tempdir.path().join("print-token.ps1");
std::fs::write(
&script_path,
r#"$lines = Get-Content -Path tokens.txt
r#"$lines = @(Get-Content -Path tokens.txt)
if ($lines.Count -eq 0) { exit 1 }
Write-Output $lines[0]
$lines | Select-Object -Skip 1 | Set-Content -Path tokens.txt

View File

@@ -364,7 +364,7 @@ mv tokens.next tokens.txt
let script_path = tempdir.path().join("print-token.ps1");
std::fs::write(
&script_path,
r#"$lines = Get-Content -Path tokens.txt
r#"$lines = @(Get-Content -Path tokens.txt)
if ($lines.Count -eq 0) { exit 1 }
Write-Output $lines[0]
$lines | Select-Object -Skip 1 | Set-Content -Path tokens.txt