forked from chocolatey/choco
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
(chocolatey#62) Add unit tests for DefaultPushSource
Adds tests for DefaultPushSource to check it works correctly. If DefaultPushSource is set, it should set the source assuming that a source is not passed in explicitly with --source. If a source is passed in explicitly, then DefaultPushSource should not override it. If DefaultPushSource is set to "disabled", it should throw an error if there is not an explicit source passed in. But if an explicit source is passed in, it should not error.
- Loading branch information
1 parent
7982238
commit 96abeab
Showing
1 changed file
with
56 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters