From 509caed4c4ddf718a7dce12ccaf102c742e011a4 Mon Sep 17 00:00:00 2001 From: Omer Arshad Date: Fri, 18 Mar 2022 13:53:09 +0000 Subject: [PATCH] GG-6190 : change references from whitelist to allowlist --- app/config/APIAccessConfig.scala | 4 ++-- app/config/AppContext.scala | 2 +- app/config/FeatureSwitch.scala | 2 +- app/config/GuiceModule.scala | 2 +- app/connectors/AuthConnector.scala | 2 +- app/connectors/AuthV1UserDetailsFetcher.scala | 2 +- app/connectors/AuthV2UserDetailsFetcher.scala | 2 +- .../ThirdPartyDelegatedAuthorityConnector.scala | 2 +- app/connectors/UserDetailsFetcher.scala | 2 +- app/controllers/DocumentationController.scala | 2 +- app/controllers/ErrorResponses.scala | 2 +- app/controllers/UserInfoController.scala | 2 +- app/controllers/package.scala | 2 +- app/controllers/testOnly/FeatureSwitchController.scala | 2 +- app/data/UserInfoGenerator.scala | 2 +- app/domain/APIDefinition.scala | 2 +- app/domain/Authority.scala | 2 +- app/domain/Enrolment.scala | 2 +- app/domain/GovernmentGatewayDetails.scala | 2 +- app/domain/NinoNotFoundException.scala | 2 +- app/domain/UserDetails.scala | 2 +- app/domain/UserInfo.scala | 2 +- app/domain/package.scala | 2 +- app/filters/MicroserviceAuthFilter.scala | 2 +- app/filters/MicroserviceFilters.scala | 2 +- app/handlers/ErrorHandler.scala | 2 +- app/services/UserInfoService.scala | 2 +- app/services/UserInfoTransformer.scala | 2 +- conf/application.conf | 8 ++++---- it/BaseFeatureISpec.scala | 2 +- it/FeatureSwitchControllerISpec.scala | 2 +- it/PlatformIntegrationISpec.scala | 2 +- it/SchemaISpec.scala | 2 +- it/UserInfoServiceISpec.scala | 2 +- it/stubs/AuthStub.scala | 2 +- it/stubs/ThirdPartyDelegatedAuthorityStub.scala | 2 +- test/config/APIAccessConfigSpec.scala | 10 +++++----- .../ThirdPartyDelegatedAuthorityConnectorSpec.scala | 2 +- test/controllers/ErrorResponseSpec.scala | 2 +- test/controllers/UserInfoControllerSpec.scala | 2 +- .../testOnly/FeatureSwitchControllerSpec.scala | 2 +- test/data/UserInfoGeneratorSpec.scala | 2 +- test/services/UserInfoServiceSpec.scala | 2 +- test/services/UserInfoTransformerSpec.scala | 2 +- test/testSupport/UnitSpec.scala | 2 +- 45 files changed, 53 insertions(+), 53 deletions(-) diff --git a/app/config/APIAccessConfig.scala b/app/config/APIAccessConfig.scala index a2367df..3153612 100644 --- a/app/config/APIAccessConfig.scala +++ b/app/config/APIAccessConfig.scala @@ -1,5 +1,5 @@ /* - * Copyright 2021 HM Revenue & Customs + * Copyright 2022 HM Revenue & Customs * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -29,7 +29,7 @@ case class APIAccessVersions(versionConfigs: Option[ConfigObject]) { val accessType = if (value.hasPath("type")) value.getString("type") else "PRIVATE" val status = if (value.hasPath("status")) value.getString("status") else throw new IllegalArgumentException("Status missing") - val allowListedApplicationIds = if (value.hasPath("white-list.applicationIds")) Some(value.getStringList("white-list.applicationIds").asScala.toList) else None + val allowListedApplicationIds = if (value.hasPath("allow-list.applicationIds")) Some(value.getStringList("allow-list.applicationIds").asScala.toList) else None val endpointsEnabled = if (value.hasPath("endpointsEnabled")) value.getBoolean("endpointsEnabled") else false val versionNumber = version.replace('_', '.') diff --git a/app/config/AppContext.scala b/app/config/AppContext.scala index 140678c..bb9b576 100644 --- a/app/config/AppContext.scala +++ b/app/config/AppContext.scala @@ -1,5 +1,5 @@ /* - * Copyright 2021 HM Revenue & Customs + * Copyright 2022 HM Revenue & Customs * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/app/config/FeatureSwitch.scala b/app/config/FeatureSwitch.scala index 0ae595e..34a4736 100644 --- a/app/config/FeatureSwitch.scala +++ b/app/config/FeatureSwitch.scala @@ -1,5 +1,5 @@ /* - * Copyright 2021 HM Revenue & Customs + * Copyright 2022 HM Revenue & Customs * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/app/config/GuiceModule.scala b/app/config/GuiceModule.scala index 5e861aa..8020923 100644 --- a/app/config/GuiceModule.scala +++ b/app/config/GuiceModule.scala @@ -1,5 +1,5 @@ /* - * Copyright 2021 HM Revenue & Customs + * Copyright 2022 HM Revenue & Customs * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/app/connectors/AuthConnector.scala b/app/connectors/AuthConnector.scala index 82024f5..b8ac9e1 100644 --- a/app/connectors/AuthConnector.scala +++ b/app/connectors/AuthConnector.scala @@ -1,5 +1,5 @@ /* - * Copyright 2021 HM Revenue & Customs + * Copyright 2022 HM Revenue & Customs * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/app/connectors/AuthV1UserDetailsFetcher.scala b/app/connectors/AuthV1UserDetailsFetcher.scala index 234de5c..888ea7b 100644 --- a/app/connectors/AuthV1UserDetailsFetcher.scala +++ b/app/connectors/AuthV1UserDetailsFetcher.scala @@ -1,5 +1,5 @@ /* - * Copyright 2021 HM Revenue & Customs + * Copyright 2022 HM Revenue & Customs * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/app/connectors/AuthV2UserDetailsFetcher.scala b/app/connectors/AuthV2UserDetailsFetcher.scala index 618f242..5e47121 100644 --- a/app/connectors/AuthV2UserDetailsFetcher.scala +++ b/app/connectors/AuthV2UserDetailsFetcher.scala @@ -1,5 +1,5 @@ /* - * Copyright 2021 HM Revenue & Customs + * Copyright 2022 HM Revenue & Customs * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/app/connectors/ThirdPartyDelegatedAuthorityConnector.scala b/app/connectors/ThirdPartyDelegatedAuthorityConnector.scala index 6b78e23..8b2953d 100644 --- a/app/connectors/ThirdPartyDelegatedAuthorityConnector.scala +++ b/app/connectors/ThirdPartyDelegatedAuthorityConnector.scala @@ -1,5 +1,5 @@ /* - * Copyright 2021 HM Revenue & Customs + * Copyright 2022 HM Revenue & Customs * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/app/connectors/UserDetailsFetcher.scala b/app/connectors/UserDetailsFetcher.scala index 76ca246..b656516 100644 --- a/app/connectors/UserDetailsFetcher.scala +++ b/app/connectors/UserDetailsFetcher.scala @@ -1,5 +1,5 @@ /* - * Copyright 2021 HM Revenue & Customs + * Copyright 2022 HM Revenue & Customs * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/app/controllers/DocumentationController.scala b/app/controllers/DocumentationController.scala index beedb54..21e5f5d 100644 --- a/app/controllers/DocumentationController.scala +++ b/app/controllers/DocumentationController.scala @@ -1,5 +1,5 @@ /* - * Copyright 2021 HM Revenue & Customs + * Copyright 2022 HM Revenue & Customs * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/app/controllers/ErrorResponses.scala b/app/controllers/ErrorResponses.scala index dcfb9fb..3623410 100644 --- a/app/controllers/ErrorResponses.scala +++ b/app/controllers/ErrorResponses.scala @@ -1,5 +1,5 @@ /* - * Copyright 2021 HM Revenue & Customs + * Copyright 2022 HM Revenue & Customs * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/app/controllers/UserInfoController.scala b/app/controllers/UserInfoController.scala index 3ba543d..5c6af7f 100644 --- a/app/controllers/UserInfoController.scala +++ b/app/controllers/UserInfoController.scala @@ -1,5 +1,5 @@ /* - * Copyright 2021 HM Revenue & Customs + * Copyright 2022 HM Revenue & Customs * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/app/controllers/package.scala b/app/controllers/package.scala index 964ff0e..ce3d75f 100644 --- a/app/controllers/package.scala +++ b/app/controllers/package.scala @@ -1,5 +1,5 @@ /* - * Copyright 2021 HM Revenue & Customs + * Copyright 2022 HM Revenue & Customs * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/app/controllers/testOnly/FeatureSwitchController.scala b/app/controllers/testOnly/FeatureSwitchController.scala index e0a3b69..aba0e26 100644 --- a/app/controllers/testOnly/FeatureSwitchController.scala +++ b/app/controllers/testOnly/FeatureSwitchController.scala @@ -1,5 +1,5 @@ /* - * Copyright 2021 HM Revenue & Customs + * Copyright 2022 HM Revenue & Customs * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/app/data/UserInfoGenerator.scala b/app/data/UserInfoGenerator.scala index 7bdf5c9..33f2fb7 100644 --- a/app/data/UserInfoGenerator.scala +++ b/app/data/UserInfoGenerator.scala @@ -1,5 +1,5 @@ /* - * Copyright 2021 HM Revenue & Customs + * Copyright 2022 HM Revenue & Customs * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/app/domain/APIDefinition.scala b/app/domain/APIDefinition.scala index 32cf255..61821d2 100644 --- a/app/domain/APIDefinition.scala +++ b/app/domain/APIDefinition.scala @@ -1,5 +1,5 @@ /* - * Copyright 2021 HM Revenue & Customs + * Copyright 2022 HM Revenue & Customs * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/app/domain/Authority.scala b/app/domain/Authority.scala index fb8723c..e292ba9 100644 --- a/app/domain/Authority.scala +++ b/app/domain/Authority.scala @@ -1,5 +1,5 @@ /* - * Copyright 2021 HM Revenue & Customs + * Copyright 2022 HM Revenue & Customs * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/app/domain/Enrolment.scala b/app/domain/Enrolment.scala index aac996f..b1e6e2c 100644 --- a/app/domain/Enrolment.scala +++ b/app/domain/Enrolment.scala @@ -1,5 +1,5 @@ /* - * Copyright 2021 HM Revenue & Customs + * Copyright 2022 HM Revenue & Customs * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/app/domain/GovernmentGatewayDetails.scala b/app/domain/GovernmentGatewayDetails.scala index 639b0b7..c7954f5 100644 --- a/app/domain/GovernmentGatewayDetails.scala +++ b/app/domain/GovernmentGatewayDetails.scala @@ -1,5 +1,5 @@ /* - * Copyright 2021 HM Revenue & Customs + * Copyright 2022 HM Revenue & Customs * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/app/domain/NinoNotFoundException.scala b/app/domain/NinoNotFoundException.scala index b7b4afb..6c51026 100644 --- a/app/domain/NinoNotFoundException.scala +++ b/app/domain/NinoNotFoundException.scala @@ -1,5 +1,5 @@ /* - * Copyright 2021 HM Revenue & Customs + * Copyright 2022 HM Revenue & Customs * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/app/domain/UserDetails.scala b/app/domain/UserDetails.scala index 599db85..6d2732b 100644 --- a/app/domain/UserDetails.scala +++ b/app/domain/UserDetails.scala @@ -1,5 +1,5 @@ /* - * Copyright 2021 HM Revenue & Customs + * Copyright 2022 HM Revenue & Customs * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/app/domain/UserInfo.scala b/app/domain/UserInfo.scala index d3cba69..6d4c4ae 100644 --- a/app/domain/UserInfo.scala +++ b/app/domain/UserInfo.scala @@ -1,5 +1,5 @@ /* - * Copyright 2021 HM Revenue & Customs + * Copyright 2022 HM Revenue & Customs * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/app/domain/package.scala b/app/domain/package.scala index 36db9f9..2268ccc 100644 --- a/app/domain/package.scala +++ b/app/domain/package.scala @@ -1,5 +1,5 @@ /* - * Copyright 2021 HM Revenue & Customs + * Copyright 2022 HM Revenue & Customs * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/app/filters/MicroserviceAuthFilter.scala b/app/filters/MicroserviceAuthFilter.scala index 19fda2d..27c006f 100644 --- a/app/filters/MicroserviceAuthFilter.scala +++ b/app/filters/MicroserviceAuthFilter.scala @@ -1,5 +1,5 @@ /* - * Copyright 2021 HM Revenue & Customs + * Copyright 2022 HM Revenue & Customs * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/app/filters/MicroserviceFilters.scala b/app/filters/MicroserviceFilters.scala index 5d4a5b7..58ab537 100644 --- a/app/filters/MicroserviceFilters.scala +++ b/app/filters/MicroserviceFilters.scala @@ -1,5 +1,5 @@ /* - * Copyright 2021 HM Revenue & Customs + * Copyright 2022 HM Revenue & Customs * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/app/handlers/ErrorHandler.scala b/app/handlers/ErrorHandler.scala index 6289d71..ca4c750 100644 --- a/app/handlers/ErrorHandler.scala +++ b/app/handlers/ErrorHandler.scala @@ -1,5 +1,5 @@ /* - * Copyright 2021 HM Revenue & Customs + * Copyright 2022 HM Revenue & Customs * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/app/services/UserInfoService.scala b/app/services/UserInfoService.scala index 63e43c2..581cdd3 100644 --- a/app/services/UserInfoService.scala +++ b/app/services/UserInfoService.scala @@ -1,5 +1,5 @@ /* - * Copyright 2021 HM Revenue & Customs + * Copyright 2022 HM Revenue & Customs * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/app/services/UserInfoTransformer.scala b/app/services/UserInfoTransformer.scala index aeae4b8..47b149f 100644 --- a/app/services/UserInfoTransformer.scala +++ b/app/services/UserInfoTransformer.scala @@ -1,5 +1,5 @@ /* - * Copyright 2021 HM Revenue & Customs + * Copyright 2022 HM Revenue & Customs * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/conf/application.conf b/conf/application.conf index 06fc809..e5dcac0 100644 --- a/conf/application.conf +++ b/conf/application.conf @@ -1,4 +1,4 @@ -# Copyright 2021 HM Revenue & Customs +# Copyright 2022 HM Revenue & Customs # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -140,7 +140,7 @@ api.access.version { 1_0 { type = PRIVATE status = STABLE - white-list { + allow-list { applicationIds.0 = 649def0f-3ed3-4df5-8ae1-3e687a9143ea applicationIds.1 = df8c10db-01fb-4543-b77e-859267462231 applicationIds.2 = 9a32c713-7741-4aae-b39d-957021fb97a9 @@ -150,7 +150,7 @@ api.access.version { 1_1 { type = PRIVATE status = BETA - white-list { + allow-list { applicationIds.0 = 649def0f-3ed3-4df5-8ae1-3e687a9143ea } endpointsEnabled = false @@ -160,7 +160,7 @@ api.access.version { api.access { type = PRIVATE - white-list.applicationIds = [] + allow-list.applicationIds = [] } auditing { diff --git a/it/BaseFeatureISpec.scala b/it/BaseFeatureISpec.scala index 49773c9..1d6c483 100644 --- a/it/BaseFeatureISpec.scala +++ b/it/BaseFeatureISpec.scala @@ -1,5 +1,5 @@ /* - * Copyright 2021 HM Revenue & Customs + * Copyright 2022 HM Revenue & Customs * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/it/FeatureSwitchControllerISpec.scala b/it/FeatureSwitchControllerISpec.scala index 810f028..b8523a3 100644 --- a/it/FeatureSwitchControllerISpec.scala +++ b/it/FeatureSwitchControllerISpec.scala @@ -1,5 +1,5 @@ /* - * Copyright 2021 HM Revenue & Customs + * Copyright 2022 HM Revenue & Customs * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/it/PlatformIntegrationISpec.scala b/it/PlatformIntegrationISpec.scala index a016ed0..4fbc4c1 100644 --- a/it/PlatformIntegrationISpec.scala +++ b/it/PlatformIntegrationISpec.scala @@ -1,5 +1,5 @@ /* - * Copyright 2021 HM Revenue & Customs + * Copyright 2022 HM Revenue & Customs * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/it/SchemaISpec.scala b/it/SchemaISpec.scala index 9881e5e..d088ec8 100644 --- a/it/SchemaISpec.scala +++ b/it/SchemaISpec.scala @@ -1,5 +1,5 @@ /* - * Copyright 2021 HM Revenue & Customs + * Copyright 2022 HM Revenue & Customs * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/it/UserInfoServiceISpec.scala b/it/UserInfoServiceISpec.scala index e5fb731..080183b 100644 --- a/it/UserInfoServiceISpec.scala +++ b/it/UserInfoServiceISpec.scala @@ -1,5 +1,5 @@ /* - * Copyright 2021 HM Revenue & Customs + * Copyright 2022 HM Revenue & Customs * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/it/stubs/AuthStub.scala b/it/stubs/AuthStub.scala index 68dc45b..cb8c771 100644 --- a/it/stubs/AuthStub.scala +++ b/it/stubs/AuthStub.scala @@ -1,5 +1,5 @@ /* - * Copyright 2021 HM Revenue & Customs + * Copyright 2022 HM Revenue & Customs * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/it/stubs/ThirdPartyDelegatedAuthorityStub.scala b/it/stubs/ThirdPartyDelegatedAuthorityStub.scala index 43d59ff..103e2f4 100644 --- a/it/stubs/ThirdPartyDelegatedAuthorityStub.scala +++ b/it/stubs/ThirdPartyDelegatedAuthorityStub.scala @@ -1,5 +1,5 @@ /* - * Copyright 2021 HM Revenue & Customs + * Copyright 2022 HM Revenue & Customs * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/config/APIAccessConfigSpec.scala b/test/config/APIAccessConfigSpec.scala index 0d1a346..77ca656 100644 --- a/test/config/APIAccessConfigSpec.scala +++ b/test/config/APIAccessConfigSpec.scala @@ -1,5 +1,5 @@ /* - * Copyright 2021 HM Revenue & Customs + * Copyright 2022 HM Revenue & Customs * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -24,13 +24,13 @@ class APIAccessConfigSpec extends UnitSpec { val configuration: Configuration = Configuration.from(Map( "api.access.version.1_0.type" -> "PRIVATE", "api.access.version.1_0.status" -> "STABLE", - "api.access.version.1_0.white-list.applicationIds.0" -> "649def0f-3ed3-4df5-8ae1-3e687a9143ea", - "api.access.version.1_0.white-list.applicationIds.1" -> "df8c10db-01fb-4543-b77e-859267462231", - "api.access.version.1_0.white-list.applicationIds.2" -> "9a32c713-7741-4aae-b39d-957021fb97a9", + "api.access.version.1_0.allow-list.applicationIds.0" -> "649def0f-3ed3-4df5-8ae1-3e687a9143ea", + "api.access.version.1_0.allow-list.applicationIds.1" -> "df8c10db-01fb-4543-b77e-859267462231", + "api.access.version.1_0.allow-list.applicationIds.2" -> "9a32c713-7741-4aae-b39d-957021fb97a9", "api.access.version.1_0.endpointsEnabled" -> true, "api.access.version.1_1.type" -> "PRIVATE", "api.access.version.1_1.status" -> "ALPHA", - "api.access.version.1_1.white-list.applicationIds.0" -> "649def0f-3ed3-4df5-8ae1-3e687a9143ea", + "api.access.version.1_1.allow-list.applicationIds.0" -> "649def0f-3ed3-4df5-8ae1-3e687a9143ea", "api.access.version.1_1.endpointsEnabled" -> false )) diff --git a/test/connectors/ThirdPartyDelegatedAuthorityConnectorSpec.scala b/test/connectors/ThirdPartyDelegatedAuthorityConnectorSpec.scala index 1116c94..e819503 100644 --- a/test/connectors/ThirdPartyDelegatedAuthorityConnectorSpec.scala +++ b/test/connectors/ThirdPartyDelegatedAuthorityConnectorSpec.scala @@ -1,5 +1,5 @@ /* - * Copyright 2021 HM Revenue & Customs + * Copyright 2022 HM Revenue & Customs * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/controllers/ErrorResponseSpec.scala b/test/controllers/ErrorResponseSpec.scala index 60ea799..d50fa68 100644 --- a/test/controllers/ErrorResponseSpec.scala +++ b/test/controllers/ErrorResponseSpec.scala @@ -1,5 +1,5 @@ /* - * Copyright 2021 HM Revenue & Customs + * Copyright 2022 HM Revenue & Customs * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/controllers/UserInfoControllerSpec.scala b/test/controllers/UserInfoControllerSpec.scala index 3918163..fc32cec 100644 --- a/test/controllers/UserInfoControllerSpec.scala +++ b/test/controllers/UserInfoControllerSpec.scala @@ -1,5 +1,5 @@ /* - * Copyright 2021 HM Revenue & Customs + * Copyright 2022 HM Revenue & Customs * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/controllers/testOnly/FeatureSwitchControllerSpec.scala b/test/controllers/testOnly/FeatureSwitchControllerSpec.scala index 17e853a..37cda62 100644 --- a/test/controllers/testOnly/FeatureSwitchControllerSpec.scala +++ b/test/controllers/testOnly/FeatureSwitchControllerSpec.scala @@ -1,5 +1,5 @@ /* - * Copyright 2021 HM Revenue & Customs + * Copyright 2022 HM Revenue & Customs * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/data/UserInfoGeneratorSpec.scala b/test/data/UserInfoGeneratorSpec.scala index 4bc7968..17a70d4 100644 --- a/test/data/UserInfoGeneratorSpec.scala +++ b/test/data/UserInfoGeneratorSpec.scala @@ -1,5 +1,5 @@ /* - * Copyright 2021 HM Revenue & Customs + * Copyright 2022 HM Revenue & Customs * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/services/UserInfoServiceSpec.scala b/test/services/UserInfoServiceSpec.scala index e1908af..f36cf5f 100644 --- a/test/services/UserInfoServiceSpec.scala +++ b/test/services/UserInfoServiceSpec.scala @@ -1,5 +1,5 @@ /* - * Copyright 2021 HM Revenue & Customs + * Copyright 2022 HM Revenue & Customs * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/services/UserInfoTransformerSpec.scala b/test/services/UserInfoTransformerSpec.scala index 88db361..21e8b91 100644 --- a/test/services/UserInfoTransformerSpec.scala +++ b/test/services/UserInfoTransformerSpec.scala @@ -1,5 +1,5 @@ /* - * Copyright 2021 HM Revenue & Customs + * Copyright 2022 HM Revenue & Customs * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/testSupport/UnitSpec.scala b/test/testSupport/UnitSpec.scala index f0c071d..f927e39 100644 --- a/test/testSupport/UnitSpec.scala +++ b/test/testSupport/UnitSpec.scala @@ -1,5 +1,5 @@ /* - * Copyright 2021 HM Revenue & Customs + * Copyright 2022 HM Revenue & Customs * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License.