Skip to content

Commit

Permalink
Fix utils tests incorrectly asking for the password
Browse files Browse the repository at this point in the history
  • Loading branch information
revolter committed Oct 24, 2022
1 parent cf4e2dd commit 868db12
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions match/spec/utils_spec.rb
Expand Up @@ -7,6 +7,8 @@
allow(value).to receive(:success?).and_return(true)
allow(thread).to receive(:value).and_return(value)

allow(FastlaneCore::UI).to receive(:interactive?).and_return(false)

allow(Security::InternetPassword).to receive(:find).and_return(nil)

allow(FastlaneCore::Helper).to receive(:backticks).with('security -h | grep set-key-partition-list', print: false).and_return(' set-key-partition-list Set the partition list of a key.')
Expand Down

0 comments on commit 868db12

Please sign in to comment.