neo42-GmbH / PSAppDeployToolKitExtensions

Explore a next level packaging experience with the neo42 Extensions for the PSAppDeployToolkit. The base for the neo42 Application Package Depot
https://neo42.de/application-package-depot
GNU Lesser General Public License v3.0
4 stars 0 forks source link

locally Test Get-NxtIsSystemProcess.Tests.ps1 Should throw on access denied fails if run locally #1072

Closed neo42mgn closed 2 days ago

neo42mgn commented 2 weeks ago

Confirmation

Description

Check if this is just on the dev machine and if the test has to be fixed or the function itsself The complete tests should succeed on Runner and also locally

Release

No response

Windows build

No response

Architecture

No response

Deployment System

No response

Relevant logs

on Runner:
https://github.com/neo42-GmbH/PSAppDeployToolKitExtensions/actions/runs/10959328611/job/30431471270

locally:
Running tests from 'Get-NxtIsSystemProcess.Tests.ps1'
Describing Get-NxtIsSystemProcess
 Context When given a process name
   [+] Should return true for lsass (System) process 149ms (145ms|4ms)
   [-] Should throw on access denied 58ms (56ms|2ms)
    IdentityNotMappedException: Manche oder alle Identitätsverweise konnten nicht übersetzt werden.
    MethodInvocationException: Ausnahme beim Aufrufen von "Translate" mit 1 Argument(en):  "Manche oder alle Identitätsverweise konnten nicht übersetzt werden."