Skip to content

Commit

Permalink
DQA-9535: Update mock to version 0.0.6 (#777)
Browse files Browse the repository at this point in the history
  • Loading branch information
joaocsilva authored Jun 6, 2024
1 parent 0ce3ff1 commit 18fb66e
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 14 deletions.
2 changes: 1 addition & 1 deletion src/Mock.php
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
20 changes: 10 additions & 10 deletions tests/fixtures/commands/component-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -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",
Expand Down Expand Up @@ -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",
Expand Down Expand Up @@ -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: []
Expand All @@ -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: []
Expand All @@ -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: []
Expand Down
4 changes: 2 additions & 2 deletions tests/fixtures/commands/notifications.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion tests/fixtures/samples/sample-composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 18fb66e

Please sign in to comment.