Context Edit the service start name and start password with Credential
WARNING: There is no operation running currently. Stop will return without any action.
WARNING: There is no operation running currently. Stop will return without any action.
[+] Should compile and apply the MOF without throwing 1.18s
[+] Should not have removed service with specified name 9ms
[-] Should have edited the service to have the specified startup account name 32ms
Expected strings to be the same, but they were different.
Expected length: 16
Actual length: 17
Strings differ at index 2.
Expected: '.\PSDSCTestAdmin'
But was: '.\xPSDSCTestAdmin'
317: $serviceCimInstance.StartName | Should -Be ".\$expectedStartName"
at <ScriptBlock>, D:\a\1\s\tests\Integration\DSC_xServiceResource.EndToEnd.Tests.ps1: line 317
[+] Should return true from Test-TargetResource with the same parameters 112ms
This integration test fails: