From 1973e72015b25cd79d9e887d6d9284391d2a6366 Mon Sep 17 00:00:00 2001 From: Rylan Polster Date: Tue, 13 Jul 2021 02:29:03 -0400 Subject: [PATCH] BottleAPI: fix tests --- Library/Homebrew/test/bottle_api_spec.rb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Library/Homebrew/test/bottle_api_spec.rb b/Library/Homebrew/test/bottle_api_spec.rb index 9be228e05a..556e24dcc5 100644 --- a/Library/Homebrew/test/bottle_api_spec.rb +++ b/Library/Homebrew/test/bottle_api_spec.rb @@ -2,6 +2,10 @@ # frozen_string_literal: true describe BottleAPI do + before do + ENV["HOMEBREW_JSON_CORE"] = "1" + end + let(:bottle_json) { <<~EOS {