From 18fb66eb2b66ed662b756fb2760312fae4996abc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Costa=20Silva?= <1574795+joaocsilva@users.noreply.github.com> Date: Thu, 6 Jun 2024 13:15:32 +0100 Subject: [PATCH] DQA-9535: Update mock to version 0.0.6 (#777) --- src/Mock.php | 2 +- tests/fixtures/commands/component-check.yml | 20 ++++++++++---------- tests/fixtures/commands/notifications.yml | 4 ++-- tests/fixtures/samples/sample-composer.lock | 2 +- 4 files changed, 14 insertions(+), 14 deletions(-) diff --git a/src/Mock.php b/src/Mock.php index d7a1855eb..04cb9b1f8 100644 --- a/src/Mock.php +++ b/src/Mock.php @@ -17,7 +17,7 @@ final class Mock * * @var string */ - private static string $defaultTag = '0.0.5'; + private static string $defaultTag = '0.0.6'; /** * The directory to download the mock to. diff --git a/tests/fixtures/commands/component-check.yml b/tests/fixtures/commands/component-check.yml index 5343de22b..03423a679 100644 --- a/tests/fixtures/commands/component-check.yml +++ b/tests/fixtures/commands/component-check.yml @@ -382,13 +382,13 @@ - file: composer.lock content: | { "packages": [ { "name": "drupal/pipeline", "type": "drupal-module", "version": "1.0.0" } ] } - - file: .toolkit-mock/0.0.5/api/v1/project/ec-europa/toolkit/information.json + - file: .toolkit-mock/0.0.6/api/v1/project/ec-europa/toolkit/information.json content: | [ { "name":"toolkit", "type": "Openeuropa", "environments": [{ "profile": "minimal", "type": "Production" }] }] - - file: .toolkit-mock/0.0.5/api/v1/toolkit-requirements.json + - file: .toolkit-mock/0.0.6/api/v1/toolkit-requirements.json content: | { "php_version":"8.1", "toolkit": "^3.7.2|^9.14|^10.4", "drupal": "^7.96|^10.1.4|^10.0.11", "vendor_list": [ "drupal" ] } - - file: .toolkit-mock/0.0.5/api/v1/package-reviews.json + - file: .toolkit-mock/0.0.6/api/v1/package-reviews.json content: | [ { "type": "drupal-module", @@ -423,13 +423,13 @@ - file: composer.lock content: | { "packages": [ { "name": "drupal/pipeline", "type": "drupal-module", "version": "1.0.0" } ] } - - file: .toolkit-mock/0.0.5/api/v1/project/ec-europa/toolkit/information.json + - file: .toolkit-mock/0.0.6/api/v1/project/ec-europa/toolkit/information.json content: | [ { "name": "toolkit", "type": "Openeuropa", "environments": [{ "profile":"minimal", "type":"Production" }] } ] - - file: .toolkit-mock/0.0.5/api/v1/toolkit-requirements.json + - file: .toolkit-mock/0.0.6/api/v1/toolkit-requirements.json content: | { "php_version": "8.1", "toolkit": "^3.7.2|^9.14|^10.4", "drupal": "^7.96|^10.1.4|^10.0.11", "vendor_list": [ "drupal" ] } - - file: .toolkit-mock/0.0.5/api/v1/package-reviews.json + - file: .toolkit-mock/0.0.6/api/v1/package-reviews.json content: | [ { "type": "drupal-module", @@ -463,7 +463,7 @@ - file: composer.lock content: | { "packages": [ { "name": "ec-europa/toolkit" } ] } - - file: .toolkit-mock/0.0.5/api/v1/package-reviews.json + - file: .toolkit-mock/0.0.6/api/v1/package-reviews.json content: | [ { "type": "drupal-module", @@ -579,7 +579,7 @@ - string_contains: ASDA_URL - string_contains: ASDA_USER - string_contains: ASDA_PASSWORD - - string_contains: QA_API_BASIC_AUTH + - not_string_contains: QA_API_BASIC_AUTH - command: 'toolkit:component-check' configuration: [] @@ -603,7 +603,7 @@ - not_string_contains: NEXTCLOUD_PASS - string_contains: ASDA_USER - string_contains: ASDA_PASSWORD - - string_contains: QA_API_BASIC_AUTH + - not_string_contains: QA_API_BASIC_AUTH - command: 'toolkit:component-check' configuration: [] @@ -624,7 +624,7 @@ - not_string_contains: NEXTCLOUD_PASS - string_contains: ASDA_USER - string_contains: ASDA_PASSWORD - - string_contains: QA_API_BASIC_AUTH + - not_string_contains: QA_API_BASIC_AUTH - command: 'toolkit:component-check' configuration: [] diff --git a/tests/fixtures/commands/notifications.yml b/tests/fixtures/commands/notifications.yml index 69e518f87..39cbae4c9 100644 --- a/tests/fixtures/commands/notifications.yml +++ b/tests/fixtures/commands/notifications.yml @@ -11,7 +11,7 @@ - CI=false - QA_WEBSITE_URL=http://ec-behat.com resources: - - file: .toolkit-mock/0.0.5/api/v1/notifications.json + - file: .toolkit-mock/0.0.6/api/v1/notifications.json content: | [{ "title": "Notification title 1", @@ -44,7 +44,7 @@ - CI=false - QA_WEBSITE_URL=http://ec-behat.com resources: - - file: .toolkit-mock/0.0.5/api/v1/notifications.json + - file: .toolkit-mock/0.0.6/api/v1/notifications.json content: | [{ "title": "Notification title 1", diff --git a/tests/fixtures/samples/sample-composer.lock b/tests/fixtures/samples/sample-composer.lock index d62f06430..00ee50c7c 100644 --- a/tests/fixtures/samples/sample-composer.lock +++ b/tests/fixtures/samples/sample-composer.lock @@ -15594,7 +15594,7 @@ }, { "name": "ec-europa/toolkit", - "version": "10.8.0", + "version": "10.9.0", "source": { "type": "git", "url": "https://github.com/ec-europa/toolkit.git",