From d6be1ed37ea78f621c443f414691dfc74df19f1c Mon Sep 17 00:00:00 2001 From: Neill Turner Date: Mon, 30 Dec 2024 15:14:15 +0000 Subject: [PATCH] update tests for migrate GCP wif --- spec/lib/analytics_importer_spec.rb | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/spec/lib/analytics_importer_spec.rb b/spec/lib/analytics_importer_spec.rb index cde54dfe3..0626a0f40 100644 --- a/spec/lib/analytics_importer_spec.rb +++ b/spec/lib/analytics_importer_spec.rb @@ -18,12 +18,7 @@ allow(DfE::Analytics).to receive(:enabled?).and_return(true) allow(DfE::Analytics).to receive(:log_only?).and_return(false) - DfE::Analytics.configure do |config| - # config.bigquery_project_id = "test-123" - # config.bigquery_table_name = "test_table" - # config.bigquery_dataset = "test_dataset" - # config.bigquery_api_json_key = '{ "type": "service_account" }' - end + DfE::Analytics.configure allow(Google::Cloud::Bigquery).to receive(:new).and_return(bigquery) end