From 5b868ff2684e896be94af31629efb1bb76d4f4be Mon Sep 17 00:00:00 2001 From: Leo Hemsted Date: Tue, 4 Feb 2020 14:44:19 +0000 Subject: [PATCH] remove api keys from codebase these are just used for tests so don't need to look like real api keys. --- app/templates/views/styleguide.html | 2 +- tests/javascripts/apiKey.test.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/templates/views/styleguide.html b/app/templates/views/styleguide.html index 83570143b..430ffb399 100644 --- a/app/templates/views/styleguide.html +++ b/app/templates/views/styleguide.html @@ -189,7 +189,7 @@

API key

- {{ api_key('d30512af92e1386d63b90e5973b49a10') }} + {{ api_key('00000000-0000-0000-0000-000000000000') }}

Formatted list

diff --git a/tests/javascripts/apiKey.test.js b/tests/javascripts/apiKey.test.js index 3b31cf5f9..b8b5ce6fa 100644 --- a/tests/javascripts/apiKey.test.js +++ b/tests/javascripts/apiKey.test.js @@ -17,7 +17,7 @@ describe('API key', () => { beforeEach(() => { - apiKey = 'admin-service-6658542f-0cad-491f-bec8-ab8457700ead-53c0c274-8e83-48f1-8448-598657bb39af'; + apiKey = '00000000-0000-0000-0000-000000000000'; thing = 'API key'; // mock sticky JS