diff --git a/resources/service_guides.json b/resources/service_guides.json index 665e17e8..951a4234 100644 --- a/resources/service_guides.json +++ b/resources/service_guides.json @@ -35,13 +35,6 @@ "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", @@ -49,20 +42,6 @@ "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", diff --git a/test/uk/gov/hmrc/apidocumentation/controllers/FilteredDocumentationIndexControllerSpec.scala b/test/uk/gov/hmrc/apidocumentation/controllers/FilteredDocumentationIndexControllerSpec.scala index 7b6335aa..90f9b063 100644 --- a/test/uk/gov/hmrc/apidocumentation/controllers/FilteredDocumentationIndexControllerSpec.scala +++ b/test/uk/gov/hmrc/apidocumentation/controllers/FilteredDocumentationIndexControllerSpec.scala @@ -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 {