Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 0 additions & 21 deletions resources/service_guides.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,34 +35,13 @@
"context": "/guides/safety-and-security-import-declarations-end-to-end-service-guide/",
"categories": ["CUSTOMS"]
},
{
"identifier": "ctc-traders-phase5-service-guide",
"name": "CTC Traders phase 5 service guide",
"description": "This service guide explains how to use the Phase 5 Common Transit Convention (CTC) API.",
"context": "/guides/ctc-traders-phase5-service-guide/",
"categories": ["CUSTOMS"]
},
{
"identifier": "ctc-traders-testing-guide",
"name": "CTC Traders testing guide",
"description": "This testing guide helps to check your software is compatible with the Common Transit Convention (CTC) Traders API.",
"context": "/guides/ctc-traders-testing-guide/",
"categories": ["CUSTOMS"]
},
{
"identifier": "ctc-traders-phase5-testing-guide",
"name": "CTC Traders phase 5 testing guide",
"description": "This testing guide helps to check your software is compatible with the Common Transit Convention (CTC) Traders API.",
"context": "/guides/ctc-traders-phase5-testing-guide/",
"categories": ["CUSTOMS"]
},
{
"identifier": "ctc-traders-phase5-tis",
"name": "CTC Traders phase 5 technical interface specification",
"description": "This document explains the processes involved in the message exchange between traders and the New Computerised Transit System (NCTS) at departure and arrival of transit movements.",
"context": "/guides/ctc-traders-phase5-tis/",
"categories": ["CUSTOMS"]
},
{
"identifier": "ctc-traders-tis",
"name": "CTC Traders technical interface specification",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ class FilteredDocumentationIndexControllerSpec extends CommonControllerBaseSpec

val result = underTest.apiListIndexPage(List(DocumentationTypeFilter.ROADMAPANDSERVICEGUIDE), List.empty)(request)
// There are currently 28 Service Guides and 5 roadmaps so should be 33 results
verifyPageRendered(pageTitle("API Documentation"), sideNavLinkRendered = false, breadcrumbs = List(apiDocsBreadcrumb), bodyContains = Seq("34 results "))(result)
verifyPageRendered(pageTitle("API Documentation"), sideNavLinkRendered = false, breadcrumbs = List(apiDocsBreadcrumb), bodyContains = Seq("31 results "))(result)
}

"render the filtered API list when doc type filter is road map and service guides and customs category filter" in new Setup {
Expand Down