From a9eb7609a46de13d5e4744d708e95d8fe7dd3b31 Mon Sep 17 00:00:00 2001 From: Ihor Roik <46721494+IiiigorGG@users.noreply.github.com> Date: Fri, 23 May 2025 13:23:23 +0200 Subject: [PATCH] Add recipe for macpaw/behat-doctrine-fixtures bundle (#1802) * feat: add macpaw/behat-doctrine-fixtures configuration * fix: fix indentation --- .../packages/test/behat_doctrine_fixtures.yaml | 5 +++++ .../behat-doctrine-fixtures/1.0/manifest.json | 17 +++++++++++++++++ 2 files changed, 22 insertions(+) create mode 100644 macpaw/behat-doctrine-fixtures/1.0/config/packages/test/behat_doctrine_fixtures.yaml create mode 100644 macpaw/behat-doctrine-fixtures/1.0/manifest.json diff --git a/macpaw/behat-doctrine-fixtures/1.0/config/packages/test/behat_doctrine_fixtures.yaml b/macpaw/behat-doctrine-fixtures/1.0/config/packages/test/behat_doctrine_fixtures.yaml new file mode 100644 index 00000000..2bdb5b70 --- /dev/null +++ b/macpaw/behat-doctrine-fixtures/1.0/config/packages/test/behat_doctrine_fixtures.yaml @@ -0,0 +1,5 @@ +behat_doctrine_fixtures: + connections: + default: + database_fixtures_paths: + - "PATH_TO_FIXTURES_FOLDER" diff --git a/macpaw/behat-doctrine-fixtures/1.0/manifest.json b/macpaw/behat-doctrine-fixtures/1.0/manifest.json new file mode 100644 index 00000000..8f3f2871 --- /dev/null +++ b/macpaw/behat-doctrine-fixtures/1.0/manifest.json @@ -0,0 +1,17 @@ +{ + "bundles": { + "BehatDoctrineFixtures\\BehatDoctrineFixturesBundle": ["test"] + }, + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/" + }, + "post-install-output": [ + "Read the documentation at https://github.com/MacPaw/behat-doctrine-fixtures", + "BehatDoctrineFixtures is registered in the test environment.", + "Add this to your behat.yml to finish setup:", + "...", + "contexts:", + " - BehatDoctrineFixtures\\Context\\DatabaseContext", + "..." + ] +}