mirror of
https://github.com/shlinkio/shlink.git
synced 2026-03-07 07:43:12 +08:00
Updated system to obfuscate IP addresses before persisting them
This commit is contained in:
@@ -86,8 +86,8 @@ class GetVisitsCommandTest extends TestCase
|
||||
'shortCode' => $shortCode,
|
||||
]);
|
||||
$output = $this->commandTester->getDisplay();
|
||||
$this->assertTrue(strpos($output, 'foo') > 0);
|
||||
$this->assertTrue(strpos($output, '1.2.3.4') > 0);
|
||||
$this->assertTrue(strpos($output, 'bar') > 0);
|
||||
$this->assertTrue(\strpos($output, 'foo') > 0);
|
||||
$this->assertTrue(\strpos($output, '1.2.3.0') > 0);
|
||||
$this->assertTrue(\strpos($output, 'bar') > 0);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user