From 15d6cca9a8c41d6f8a21f98d5a69f6e74ce56b1e Mon Sep 17 00:00:00 2001 From: gchi25 Date: Fri, 31 Jan 2025 14:20:44 -0500 Subject: [PATCH] USAGOV-2216-add-drupal-test-traits: add weitzman/drupal-test-traits dependency --- composer.json | 3 ++- composer.lock | 71 ++++++++++++++++++++++++++++++++++++++++++++++++--- 2 files changed, 70 insertions(+), 4 deletions(-) diff --git a/composer.json b/composer.json index 5a903878ee..8724d2246b 100644 --- a/composer.json +++ b/composer.json @@ -177,7 +177,8 @@ "phpcompatibility/php-compatibility": "^9.3", "phpstan/phpstan": "*", "phpstan/phpstan-deprecation-rules": "*", - "rector/rector": "^2.0" + "rector/rector": "^2.0", + "weitzman/drupal-test-traits": "^2.5" }, "scripts": { "changed-files": [ diff --git a/composer.lock b/composer.lock index de1d0fa2e8..a914601573 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "b45372755d650cfd009e7634fb46a031", + "content-hash": "f9a9444d3b177f0d2748db5945bd780a", "packages": [ { "name": "asm89/stack-cors", @@ -12864,6 +12864,71 @@ } ], "time": "2024-12-11T16:04:26+00:00" + }, + { + "name": "weitzman/drupal-test-traits", + "version": "2.5.0", + "source": { + "type": "git", + "url": "https://git.drupalcode.org/project/dtt.git", + "reference": "664201b00140f9b935fcb9f3eef012c6638ec0c5" + }, + "dist": { + "type": "zip", + "url": "https://git.drupalcode.org/api/v4/projects/project%2Fdtt/repository/archive.zip?sha=664201b00140f9b935fcb9f3eef012c6638ec0c5", + "reference": "664201b00140f9b935fcb9f3eef012c6638ec0c5", + "shasum": "" + }, + "require": { + "php": ">=8.1" + }, + "conflict": { + "drupal/core": "<=10.2" + }, + "require-dev": { + "drupal/mailsystem": "^4", + "drush/drush": "^12.5 || ^13", + "phpspec/prophecy-phpunit": "^2", + "webflo/drupal-finder": "^1.3.1" + }, + "type": "library", + "extra": { + "drupal-scaffold": { + "locations": { + "web-root": "web/" + }, + "file-mapping": { + "[project-root]/.gitignore": false, + "[project-root]/.editorconfig": false, + "[project-root]/.gitattributes": false + } + }, + "installer-paths": { + "web/core": [ + "type:drupal-core" + ] + } + }, + "autoload": { + "psr-4": { + "weitzman\\DrupalTestTraits\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Moshe Weitzman", + "email": "weitzman@tejasa.com" + } + ], + "description": "Traits for testing Drupal sites that have user content (versus unpopulated sites).", + "support": { + "source": "https://git.drupalcode.org/project/dtt/-/tree/2.5.0" + }, + "time": "2024-10-30T23:28:39+00:00" } ], "aliases": [], @@ -12882,6 +12947,6 @@ "platform": { "php": ">=8.3" }, - "platform-dev": [], - "plugin-api-version": "2.3.0" + "platform-dev": {}, + "plugin-api-version": "2.6.0" }