We will be off from 27/1 (Monday) to 31/1 (Friday) (GMT +7) for our Tet Holiday (Lunar New Year) in our country

Commit d96bf105 authored by marcoss's avatar marcoss

Expose last 4 digits of API keys

To help debug issues, expose the last 4 digits of API keys.
parent 8beab8e2
......@@ -25,7 +25,7 @@ class ApiKeyEndingTest extends \PHPUnit\Framework\TestCase
$this->apiKeyEndingComment = new ApiKeyEnding($encryptor);
}
public function testSomething()
public function testCommentReturnsJustTheEnding()
{
$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'));
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment