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
d96bf105
Commit
d96bf105
authored
Aug 14, 2019
by
marcoss
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Expose last 4 digits of API keys
To help debug issues, expose the last 4 digits of API keys.
parent
8beab8e2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
Test/Unit/Comment/ApiKeyEndingTest.php
Test/Unit/Comment/ApiKeyEndingTest.php
+1
-1
No files found.
Test/Unit/Comment/ApiKeyEndingTest.php
View file @
d96bf105
...
...
@@ -25,7 +25,7 @@ class ApiKeyEndingTest extends \PHPUnit\Framework\TestCase
$this
->
apiKeyEndingComment
=
new
ApiKeyEnding
(
$encryptor
);
}
public
function
test
Someth
ing
()
public
function
test
CommentReturnsJustTheEnd
ing
()
{
$this
->
assertEquals
(
'API key ending with: <strong>1234</strong>'
,
$this
->
apiKeyEndingComment
->
getCommentText
(
'4321'
));
$this
->
assertEquals
(
'API key ending with: <strong>qwer</strong>'
,
$this
->
apiKeyEndingComment
->
getCommentText
(
'asdfasdfasdf'
));
...
...
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