Skip to content

Commit

Permalink
maybe
Browse files Browse the repository at this point in the history
  • Loading branch information
potatoqualitee committed Oct 26, 2024
1 parent 8191880 commit f341a35
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/Copy-DbaXESessionTemplate.Tests.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ Describe "Copy-DbaXESessionTemplate" -Tag "IntegrationTests" {
Context "When copying XE session templates" {
It "Successfully copies the template files" {
$null = Copy-DbaXESessionTemplate *>1
$source = ((Get-DbaXESessionTemplate -Path $Path | Where-Object Source -ne Microsoft).Path | Select-Object -First 1).Name
$source = ((Get-DbaXESessionTemplate | Where-Object Source -ne Microsoft).Path | Select-Object -First 1).Name
Get-ChildItem "$home\Documents\SQL Server Management Studio\Templates\XEventTemplates" | Where-Object Name -eq $source | Should -Not -BeNullOrEmpty
}
}
Expand Down

0 comments on commit f341a35

Please sign in to comment.