localgovdrupal/localgov_publications_importer_test_data 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

localgovdrupal/localgov_publications_importer_test_data

Composer 安装命令:

composer require localgovdrupal/localgov_publications_importer_test_data

包简介

Test data for localgovdrupal/localgov_publications_importer

README 文档

README

This is a collection of PDF files that are used to test localgovdrupal/localgov_publications_importer.

These files are placed in a separate project so the publications importer can be installed without including the test data.

Files are stored under data, and then a directory named for the council that provided the PDF.

Each file must be added to the manifest.json file in data, which provides file metadata that's used for testing.

For example, each object in the JSON represents one file:

{
  "filename": "southwark/HMO licensing conditions_1.pdf",
  "title": "Private Rented Sector Property Licensing",
  "page_count": 10,
  "links": {
    "2": [
      "<a href=\"https://www.gov.uk/guidance/domestic-private-rented-property-minimum-energy-efficiency-standard-landlord-guidance\">Energy \nPerformance Certificate (EPC) Rating of less than ‘E’</a>"
    ]
  }
}
  • filename is the path to the file.
  • title is the title stored in the file.
  • page_count is how many pages the file has.
  • links is optional. This stores an object mapping of page number to an array of links. The tests will ensure that each link in the array can be found in the content of the given page.

统计信息

  • 总下载量: 491
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 1
  • 依赖项目数: 1
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: Unknown
  • 更新时间: 2025-08-01