src/app/legacy/containers/CpsRecommendations/newsFixture.js

Summary

Maintainability
C
1 day
Test Coverage
const newsMultipleItems = [
  {
    headlines: {
      shortHeadline:
        "The moving story of how a mother and the man imprisoned for her daughter's death teamed up to catch the real murderer",
      headline:
        "The moving story of how a mother and the man imprisoned for her daughter's death teamed up to catch the real murderer",
    },
    locators: {
      assetUri: '/mundo/noticias-53377054',
      cpsUrn: 'urn:bbc:content:assetUri:mundo/noticias-53377054',
      curie: 'http://www.bbc.co.uk/asset/8d27a2ca-b69d-455c-ae8a-54181ad65975',
      assetId: '53377054',
    },
    summary:
      "The moving story of how a mother and the man imprisoned for her daughter's death teamed up to catch the real murderer",
    timestamp: 1594550243000,
    language: 'en-GB',
    byline: {
      name: 'Gareth Evans',
      title: 'BBC News, Idaho Falls, Idaho',
      persons: [
        {
          name: 'Gareth Evans',
          function: 'BBC News, Idaho Falls, Idaho',
        },
      ],
    },
    passport: {
      category: {
        categoryId:
          'http://www.bbc.co.uk/ontologies/applicationlogic-news/Feature',
        categoryName: 'Feature',
      },
      campaigns: [
        {
          campaignId: '5a988e2139461b000e9dabf7',
          campaignName: 'WS - Inspire me',
        },
      ],
      taggings: [],
    },
    indexImage: {
      id: '111155484',
      subType: 'index',
      href: 'http://c.files.bbci.co.uk/BD47/production/_111155484_mediaitem111155481.jpg',
      path: '/cpsprodpb/BD47/production/_111155484_mediaitem111155481.jpg',
      height: 549,
      width: 976,
      altText: 'Angie Dodge',
      copyrightHolder: 'BBC',
      type: 'image',
    },
    id: 'urn:bbc:ares::asset:mundo/noticias-53377054',
    type: 'cps',
  },
  {
    headlines: {
      shortHeadline: 'The life of Edy Fonseca during the Coronavirus pandemic',
      headline:
        'Coronavirus in Colombia | The life of Edy Fonseca during the Coronavirus pandemic',
    },
    locators: {
      assetUri: '/mundo/noticias-america-latina-52884902',
      cpsUrn: 'urn:bbc:content:assetUri:mundo/noticias-america-latina-52884902',
      curie: 'http://www.bbc.co.uk/asset/f4363049-2813-b642-93df-5740002e16ea',
      assetId: '52884902',
    },
    summary:
      'Edy Fonseca, a 51-year-old security guard, stayed for a month in the building where she worked amid the pandemic in Bogotá.',
    timestamp: 1591360263000,
    language: 'en-GB',
    byline: {
      name: 'Daniel Pardo',
      title: 'BBC Mundo in Colombia',
      persons: [
        {
          name: 'Daniel Pardo',
          function: 'BBC Mundo in Colombia',
        },
      ],
    },
    passport: {
      category: {
        categoryId:
          'http://www.bbc.co.uk/ontologies/applicationlogic-news/News',
        categoryName: 'News',
      },
      campaigns: [
        {
          campaignId: '5a988e2939461b000e9dabf8',
          campaignName: 'WS - Educate me',
        },
      ],
      taggings: [],
    },
    indexImage: {
      id: '112608137',
      subType: 'index',
      href: 'http://c.files.bbci.co.uk/11DDC/production/_112608137_dsc04722.jpg',
      path: '/cpsprodpb/11DDC/production/_112608137_dsc04722.jpg',
      height: 549,
      width: 976,
      altText: 'Edy Fonseca',
      caption: 'Edy Fonseca during the Coronavirus pandemic',
      copyrightHolder: 'BBC',
      type: 'image',
    },
    id: 'urn:bbc:ares::asset:mundo/noticias-america-latina-52884902',
    type: 'cps',
  },
];

export default newsMultipleItems;