Skip to content

Commit

Permalink
(maint) Adjusts xDscResource Tests to require Elevation
Browse files Browse the repository at this point in the history
The xDscResources test for admin before running. This ensures Pester doesn't waste time on the file when running it in non-elevated sessions.
  • Loading branch information
JPRuskin committed Oct 25, 2021
1 parent 17316bd commit 4a11eec
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Tests/cChoco_xDscResource.Tests.ps1
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#requires -RunAsAdministrator
# Copyright (c) 2017 Chocolatey Software, Inc.
# Copyright (c) 2013 - 2017 Lawrence Gripper & original authors/contributors from https://github.com/chocolatey/cChoco
#
Expand Down

0 comments on commit 4a11eec

Please sign in to comment.