From 12e1a147595b12f222761707dba305cb388155f6 Mon Sep 17 00:00:00 2001 From: akester Date: Sat, 23 Apr 2022 09:52:03 +0200 Subject: [PATCH] #1110 NullOfficeFinder --- app/config/config_test.yml | 5 +++++ app/config/parameters.yml.dist-docker | 2 +- sources/AppBundle/Offices/NullOfficeFinder.php | 14 ++++++++++++++ 3 files changed, 20 insertions(+), 1 deletion(-) create mode 100644 sources/AppBundle/Offices/NullOfficeFinder.php diff --git a/app/config/config_test.yml b/app/config/config_test.yml index 0df87e7ff..4f7d822f8 100644 --- a/app/config/config_test.yml +++ b/app/config/config_test.yml @@ -20,3 +20,8 @@ parameters: database_password: afup github_authenticator: "AppBundle\\Security\\TestGithubAuthenticator" slack_url: null + +services: + AppBundle\Offices\OfficeFinder: + class: AppBundle\Offices\NullOfficeFinder + arguments: [ '@Geocoder\Provider\GoogleMaps' ] diff --git a/app/config/parameters.yml.dist-docker b/app/config/parameters.yml.dist-docker index 780785ddf..0c3082142 100644 --- a/app/config/parameters.yml.dist-docker +++ b/app/config/parameters.yml.dist-docker @@ -46,7 +46,7 @@ parameters: meetup_api_consumer_key: "" meetup_api_consumer_secret: "" - google_groups_api_key: "AIzaSyCPp-Zuk4We9X8MNOFLpM-4wr9US96wdzs" + google_groups_api_key: "" techno_watch_calendar_url: "https://docs.google.com/spreadsheets/d/2cUeAk86Ov7BLYyn0Ad9ge3ecbsdboeQH64wIU9a9Zzp/export?format=csv" techno_watch_calendar_key: "9Yt0feebMyMrUWx" diff --git a/sources/AppBundle/Offices/NullOfficeFinder.php b/sources/AppBundle/Offices/NullOfficeFinder.php new file mode 100644 index 000000000..63e82ffa0 --- /dev/null +++ b/sources/AppBundle/Offices/NullOfficeFinder.php @@ -0,0 +1,14 @@ +