@@ -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 ' );
0 commit comments