Skip to content

Commit

Permalink
DCWL-2620 Remove Scopes (#220)
Browse files Browse the repository at this point in the history
  • Loading branch information
gavinharris43 authored Sep 20, 2024
1 parent 89ab3d2 commit 15fd55e
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 28 deletions.
Original file line number Diff line number Diff line change
@@ -1,13 +1,6 @@
@( v1Enabled: Boolean,
v2Enabled: Boolean)
{
"scopes": [
{
"key": "write:customs-inventory-linking-exports",
"name": "Inventory Exports Movement Request",
"description": "Submit an Inventory Exports Movement Request"
}
],
"api": {
"name": "Customs Inventory Linking Exports",
"description": "Customs Inventory Linking Exports",
Expand Down
7 changes: 0 additions & 7 deletions test/component/DefinitionSpec.scala
Original file line number Diff line number Diff line change
Expand Up @@ -52,13 +52,6 @@ class DefinitionSpec extends ComponentTestSpec
contentAsJson(resultFuture) shouldBe Json.parse(
"""
|{
| "scopes": [
| {
| "key": "write:customs-inventory-linking-exports",
| "name": "Inventory Exports Movement Request",
| "description": "Submit an Inventory Exports Movement Request"
| }
| ],
| "api": {
| "name": "Customs Inventory Linking Exports",
| "description": "Customs Inventory Linking Exports",
Expand Down
7 changes: 0 additions & 7 deletions test/resources/public/api/definition.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,4 @@
{
"scopes": [
{
"key": "write:customs-wco-declaration",
"name": "Access customs UCC declaration",
"description": "Customs UCC Declaration"
}
],
"api": {
"name": "Customs UCC Declaration",
"description": "Single UCC Compliant Declaration API",
Expand Down
7 changes: 0 additions & 7 deletions test/unit/controllers/ApiDocumentationControllerSpec.scala
Original file line number Diff line number Diff line change
Expand Up @@ -59,13 +59,6 @@ class ApiDocumentationControllerSpec extends PlaySpec with MockitoSugar with Res
Json.parse(
s"""
|{
| "scopes":[
| {
| "key": "write:customs-inventory-linking-exports",
| "name": "Inventory Exports Movement Request",
| "description": "Submit an Inventory Exports Movement Request"
| }
| ],
| "api":{
| "name": "Customs Inventory Linking Exports",
| "description": "Customs Inventory Linking Exports",
Expand Down

0 comments on commit 15fd55e

Please sign in to comment.