Johan Ljunggren

Results 245 issues of Johan Ljunggren

The following code does not take in account if there are a validate set on a mandatory parameter. Also, this code should be split out to a separate function. https://github.com/PowerShell/DscResource.Tests/blob/7956b151bd303be577bedf201595350c985824e9/Meta.Tests.ps1#L697-L710

enhancement
help wanted

Looking for if we can add a test for this (might be to big), or if we should add an example for testing the types in the [unit and/or integration...

enhancement
help wanted

If a resource module contain a composite resources the common tests fail, because the dependent resource modules are not in any of the PowerShell module paths. This is currently failing...

enhancement
help wanted

Running Meta.Tests.ps1 in PowerShell 6.0.1 on a local machine generates this error. This probably happens with PowerShell 5.x too. ``` CommandNotFoundException: The term 'nuget.exe' is not recognized as the name...

bug
help wanted

This has become a problem when AppVeyor changed the way they present the log, only showing the last 2000 log entries. I have opened an issue for this https://github.com/appveyor/ci/issues/2109. Some...

enhancement
help wanted

Today there are resource that do not return all properties in the hash table that are returned from `Get-TargetResource`. I suggest we have a test that the repository must opt-in...

enhancement
help wanted

When running the resource using ```powershell Invoke-DscResource -ModuleName JustEnoughAdministration -Name JeaEndpoint -Method Set -Verbose -Property @{ EndpointName = 'Microsoft.PowerShell' RoleDefinitions = "@{ 'CONTOSO\DnsAdmins' = @{ RoleCapabilities = 'DnsAdmin' } }"...

The example in DemoConfig.ps1 has a problem with the property `ScriptsToProcess`. It is assigned a string, but it expects a string array. https://github.com/PowerShell/JEA/blob/e53cdcb78fb9c80c564f7d0d57d295ca9198ae76/DSC%20Resource/DemoConfig.ps1#L14-L21 Running the example gives this error ```...

For example when running this on a node not part of the CONTOSO domain. ```powershell Invoke-DscResource -ModuleName JustEnoughAdministration -Name JeaEndpoint -Method Set -Verbose -Property @{ EndpointName = 'Microsoft.PowerShell' RoleDefinitions =...

I would like to see that we add the option to be able to set the startup type to 'Automatic (Delayed Start)' I propose that we add the value `'AutomaticDelayedStart'`...

enhancement
help wanted