Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
Adyen Magento2
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Shared Libs
Adyen Magento2
Commits
16287438
Commit
16287438
authored
Jan 06, 2021
by
Tuan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix unit test function
parent
c10b6e4a
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
6 additions
and
6 deletions
+6
-6
Test/Unit/Comment/ApiKeyEndingTest.php
Test/Unit/Comment/ApiKeyEndingTest.php
+1
-1
Test/Unit/Helper/DataTest.php
Test/Unit/Helper/DataTest.php
+1
-1
Test/Unit/Helper/IpAddressTest.php
Test/Unit/Helper/IpAddressTest.php
+1
-1
Test/Unit/Model/AdyenInitiateTerminalApiTest.php
Test/Unit/Model/AdyenInitiateTerminalApiTest.php
+1
-1
Test/Unit/Model/AdyenOriginKeyTest.php
Test/Unit/Model/AdyenOriginKeyTest.php
+1
-1
Test/Unit/Ui/Component/Listing/Column/NotificationColumnTest.php
...it/Ui/Component/Listing/Column/NotificationColumnTest.php
+1
-1
No files found.
Test/Unit/Comment/ApiKeyEndingTest.php
View file @
16287438
...
...
@@ -14,7 +14,7 @@ class ApiKeyEndingTest extends TestCase
*/
private
$apiKeyEndingComment
;
public
function
setUp
()
public
function
setUp
()
:
void
{
/** @var MockObject|Encryptor $encryptor */
$encryptor
=
$this
->
createMock
(
Encryptor
::
class
);
...
...
Test/Unit/Helper/DataTest.php
View file @
16287438
...
...
@@ -37,7 +37,7 @@ class DataTest extends \PHPUnit\Framework\TestCase
->
getMock
();
}
public
function
setUp
()
public
function
setUp
()
:
void
{
$context
=
$this
->
getSimpleMock
(
\Magento\Framework\App\Helper\Context
::
class
);
$encryptor
=
$this
->
getSimpleMock
(
\Magento\Framework\Encryption\EncryptorInterface
::
class
);
...
...
Test/Unit/Helper/IpAddressTest.php
View file @
16287438
...
...
@@ -37,7 +37,7 @@ class IpAddressTest extends \PHPUnit\Framework\TestCase
->
getMock
();
}
protected
function
setUp
()
protected
function
setUp
()
:
void
{
$cache
=
$this
->
getSimpleMock
(
\Magento\Framework\App\CacheInterface
::
class
);
$cache
->
method
(
'load'
)
->
willReturn
(
...
...
Test/Unit/Model/AdyenInitiateTerminalApiTest.php
View file @
16287438
...
...
@@ -43,7 +43,7 @@ class AdyenInitiateTerminalApiTest extends \PHPUnit\Framework\TestCase
->
getMock
();
}
public
function
setUp
()
public
function
setUp
()
:
void
{
$adyenHelper
=
$this
->
getSimpleMock
(
\Adyen\Payment\Helper\Data
::
class
);
$adyenLogger
=
$this
->
getSimpleMock
(
\Adyen\Payment\Logger\AdyenLogger
::
class
);
...
...
Test/Unit/Model/AdyenOriginKeyTest.php
View file @
16287438
...
...
@@ -33,7 +33,7 @@ class AdyenOriginKeyTest extends TestCase
/** @var AdyenHelper|MockObject */
private
$helper
;
protected
function
setUp
()
protected
function
setUp
()
:
void
{
$this
->
helper
=
$this
->
getMockBuilder
(
AdyenHelper
::
class
)
->
disableOriginalConstructor
()
...
...
Test/Unit/Ui/Component/Listing/Column/NotificationColumnTest.php
View file @
16287438
...
...
@@ -66,7 +66,7 @@ class NotificationColumnTest extends TestCase
*/
private
$notificationColumn
;
public
function
setUp
()
public
function
setUp
()
:
void
{
$this
->
orderMock
=
$this
->
getMockBuilder
(
Order
::
class
)
->
disableOriginalConstructor
()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment