Skip to content

Commit 91c64e6

Browse files
committed
added startMessageQueue variable in testobject file
1 parent 4191e71 commit 91c64e6

File tree

2 files changed

+5
-4
lines changed
  • dev/tests/unit/Magento/FunctionalTestFramework/DataGenerator/Handlers/SecretStorage
  • src/Magento/FunctionalTestingFramework/Test/Objects

2 files changed

+5
-4
lines changed

dev/tests/unit/Magento/FunctionalTestFramework/DataGenerator/Handlers/SecretStorage/FileStorageTest.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,15 +23,15 @@ public function testBasicEncryptDecrypt(): void
2323
{
2424
$testKey = 'magento/myKey';
2525
$testValue = 'myValue';
26-
$cred = ["$testKey=$testValue"];
26+
$creds = ["$testKey=$testValue"];
2727

2828
$fileStorage = new FileStorage();
2929
$reflection = new ReflectionClass(FileStorage::class);
3030

3131
// Emulate initialize() function result with the test credentials
3232
$reflectionMethod = $reflection->getMethod('encryptCredFileContents');
3333
$reflectionMethod->setAccessible(true);
34-
$secretData = $reflectionMethod->invokeArgs($fileStorage, [$cred]);
34+
$secretData = $reflectionMethod->invokeArgs($fileStorage, [$creds]);
3535

3636
// Set encrypted test credentials to the private 'secretData' property
3737
$reflectionProperty = $reflection->getProperty('secretData');
@@ -59,15 +59,15 @@ public function testEmptyValueEncryptDecrypt(): void
5959
$this->expectException(TestFrameworkException::class);
6060

6161
$testKey = 'magento/myKey';
62-
$cred = ["$testKey"];
62+
$creds = ["$testKey"];
6363

6464
$fileStorage = new FileStorage();
6565
$reflection = new ReflectionClass(FileStorage::class);
6666

6767
// Emulate initialize() function result with the test credentials
6868
$reflectionMethod = $reflection->getMethod('encryptCredFileContents');
6969
$reflectionMethod->setAccessible(true);
70-
$secretData = $reflectionMethod->invokeArgs($fileStorage, [$cred]);
70+
$secretData = $reflectionMethod->invokeArgs($fileStorage, [$creds]);
7171

7272
// Set encrypted test credentials to the private 'secretData' property
7373
$reflectionProperty = $reflection->getProperty('secretData');

src/Magento/FunctionalTestingFramework/Test/Objects/TestObject.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ class TestObject
3939
'deleteData' => 200,
4040
'updateData' => 200,
4141
'getOTP' => 1000,
42+
'startMessageQueue' => 700,
4243
];
4344

4445
const WEBAPI_AUTH_TEST_ACTIONS = [

0 commit comments

Comments
 (0)