зеркало из https://github.com/microsoft/AL-Go.git
fix tests
This commit is contained in:
Родитель
7b07cb86a5
Коммит
8afc59755a
|
@ -17,11 +17,10 @@ $telemetryScope = $null
|
|||
|
||||
# IMPORTANT: No code that can fail should be outside the try/catch
|
||||
|
||||
. (Join-Path -Path $PSScriptRoot -ChildPath "..\AL-Go-Helper.ps1" -Resolve)
|
||||
$BcContainerHelperPath = DownloadAndImportBcContainerHelper
|
||||
|
||||
try {
|
||||
import-module (Join-Path -path $PSScriptRoot -ChildPath "..\TelemetryHelper.psm1" -Resolve)
|
||||
. (Join-Path -Path $PSScriptRoot -ChildPath "..\AL-Go-Helper.ps1")
|
||||
$BcContainerHelperPath = DownloadAndImportBcContainerHelper
|
||||
import-module (Join-Path -path $PSScriptRoot -ChildPath "..\TelemetryHelper.psm1" -Resolve)
|
||||
|
||||
$telemetryScope = CreateScope -eventId 'DO0074' -parentTelemetryScopeJson $parentTelemetryScopeJson
|
||||
|
||||
|
|
|
@ -16,8 +16,6 @@ Describe "WorkflowInitialize Action Tests" {
|
|||
|
||||
It 'Test action.yaml matches script' {
|
||||
$permissions = [ordered]@{
|
||||
"contents" = "write"
|
||||
"pull-requests" = "write"
|
||||
}
|
||||
$outputs = [ordered]@{
|
||||
}
|
||||
|
|
|
@ -16,8 +16,6 @@ Describe "WorkflowPostProcess Action Tests" {
|
|||
|
||||
It 'Test action.yaml matches script' {
|
||||
$permissions = [ordered]@{
|
||||
"contents" = "write"
|
||||
"pull-requests" = "write"
|
||||
}
|
||||
$outputs = [ordered]@{
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче