承接 dof-dss/nidirect-d8-test-install-profile 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

dof-dss/nidirect-d8-test-install-profile

最新稳定版本:1.0.1

Composer 安装命令:

composer require dof-dss/nidirect-d8-test-install-profile

包简介

Unit test install profile for NI Direct

README 文档

README

CircleCI

NIDirect Drupal 8 Test Install Profile

Drupal source code for the NIDirect website: https://www.nidirect.gov.uk.

Getting started

This repository should be cloned as follows inside the /web/profiles directory of a working Drupal 8 NIDirect site:

git clone git@svegit01.thestables.net:dss/nidirect-d8-test-install-profile.git custom

(after doing this, you should have a 'web/profiles/custom/test_profile' directory in your project)

Updating the install profile

Simply export your current config to the install profile directory like this:

lando drush config-export --destination=profiles/custom/test_profile/config/sync

After doing this, edit profiles/custom/test_profile/config/sync/core.extension.yml and make sure that the install profile is set to 'test_profile' rather than 'standard'. Note that this may involve making two changes towards the bottom of the file, as shown in the following sample from the end of the core.extension.yml file:

  test_profile: 1000
  theme:
    stable: 0
    classy: 0
    bartik: 0
    seven: 0
    stark: 0 
  profile: test_profile
  _core:
    default_config_hash: R4IF-ClDHXxblLcG0L7MgsLvfBIMAvi_skumNFQwkDc

Running unit tests

First, ensure that your SIMPLETEST_BASE_URL is set to the local site URL in the lando config/phpunit.lando.xml file (this should be set automatically by the Lando build scripts, but is worth checking if you are having problems)

From inside lando (ssh’d in) in the directory /app/drupal8/web/core run this:

../../vendor/bin/phpunit ../modules/custom/nidirect_common/tests/src/Functional/DrivingInstructorTest.php

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2020-01-29

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固