diff options
| author | Mike McQuaid | 2016-03-08 11:43:39 +0000 | 
|---|---|---|
| committer | Xu Cheng | 2016-03-08 20:52:11 +0800 | 
| commit | 041c8502c5ec6f877211202313a5233132834d0b (patch) | |
| tree | 8c7cdc999454094a08a35ac3432b92a9ce92e469 /Library/Homebrew/test/test_tap.rb | |
| parent | 0cbc2857019c31c01e4ab6901b59327884cc029d (diff) | |
| download | brew-041c8502c5ec6f877211202313a5233132834d0b.tar.bz2 | |
Set HOMEBREW_API_TOKEN from Git when available.
As requested in Homebrew/homebrew#46578. Falls back to existing functionality.
Closes Homebrew/homebrew#46578.
Closes Homebrew/homebrew#49846.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library/Homebrew/test/test_tap.rb')
| -rw-r--r-- | Library/Homebrew/test/test_tap.rb | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/test/test_tap.rb b/Library/Homebrew/test/test_tap.rb index 56c87de83..18fe8709d 100644 --- a/Library/Homebrew/test/test_tap.rb +++ b/Library/Homebrew/test/test_tap.rb @@ -155,7 +155,7 @@ class TapTest < Homebrew::TestCase    end    def test_private_remote -    skip "HOMEBREW_GITHUB_API_TOKEN is required" unless ENV["HOMEBREW_GITHUB_API_TOKEN"] +    skip "HOMEBREW_GITHUB_API_TOKEN is required" unless GitHub.api_credentials      assert_predicate @tap, :private?    end  | 
