Skip to content

Commit

Permalink
Merge pull request #421 from magento/MFTF-2.4.4
Browse files Browse the repository at this point in the history
MFTF 2.4.4 - Merge to Master
  • Loading branch information
KevinBKozan authored Aug 15, 2019
2 parents 45f0233 + 1bdb14e commit ab347cf
Show file tree
Hide file tree
Showing 8 changed files with 13 additions and 5 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
Magento Functional Testing Framework Changelog
================================================

2.4.4
-----
### Fixes
* Fixed an issue where `_CREDS` could not be resolved when used in a suite.

2.4.3
-----
* Customizability
Expand Down
2 changes: 1 addition & 1 deletion bin/mftf
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ try {
try {
$application = new Symfony\Component\Console\Application();
$application->setName('Magento Functional Testing Framework CLI');
$application->setVersion('2.4.3');
$application->setVersion('2.4.4');
/** @var \Magento\FunctionalTestingFramework\Console\CommandListInterface $commandList */
$commandList = new \Magento\FunctionalTestingFramework\Console\CommandList;
foreach ($commandList->getCommands() as $command) {
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "magento/magento2-functional-testing-framework",
"description": "Magento2 Functional Testing Framework",
"type": "library",
"version": "2.4.3",
"version": "2.4.4",
"license": "AGPL-3.0",
"keywords": ["magento", "automation", "functional", "testing"],
"config": {
Expand Down
2 changes: 1 addition & 1 deletion composer.lock

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

1 change: 1 addition & 0 deletions dev/tests/verification/Resources/functionalSuiteHooks.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
namespace Group;

use Magento\FunctionalTestingFramework\DataGenerator\Handlers\PersistedObjectHandler;
use Magento\FunctionalTestingFramework\DataGenerator\Handlers\CredentialStore;

/**
* Group class is Codeception Extension which is allowed to handle to all internal events.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
namespace Group;

use Magento\FunctionalTestingFramework\DataGenerator\Handlers\PersistedObjectHandler;
use Magento\FunctionalTestingFramework\DataGenerator\Handlers\CredentialStore;

/**
* Group class is Codeception Extension which is allowed to handle to all internal events.
Expand Down
4 changes: 2 additions & 2 deletions etc/config/command.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
$tokenModel = $magentoObjectManager->get(\Magento\Integration\Model\Oauth\Token::class);

$tokenPassedIn = urldecode($_POST['token']);
$command = urldecode($_POST['command']);
$arguments = urldecode($_POST['arguments']);
$command = str_replace([';', '&', '|'], '', urldecode($_POST['command']));
$arguments = str_replace([';', '&', '|'], '', urldecode($_POST['arguments']));

// Token returned will be null if the token we passed in is invalid
$tokenFromMagento = $tokenModel->loadByToken($tokenPassedIn)->getToken();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
namespace Group;

use Magento\FunctionalTestingFramework\DataGenerator\Handlers\PersistedObjectHandler;
use Magento\FunctionalTestingFramework\DataGenerator\Handlers\CredentialStore;

/**
* Group class is Codeception Extension which is allowed to handle to all internal events.
Expand Down

0 comments on commit ab347cf

Please sign in to comment.