* [ADD] Unit testing. Work in progress

* [MOD] Improved Public Links key generation
* [MOD] Code refactoring
This commit is contained in:
nuxsmin
2018-07-22 19:31:00 +02:00
parent 1bcfb6db49
commit 0f2e4e7119
13 changed files with 1078 additions and 75 deletions

View File

@@ -253,7 +253,7 @@ class PublicLinkRepositoryTest extends DatabaseTestCase
$hash = pack('H*', '313065363937306666653833623531393234356635333433333732626366663433376461623565356134386238326131653238636131356235346635');
$useInfo = [
'who' => '127.0.0.1',
'who' => SELF_IP_ADDRESS,
'time' => time(),
'hash' => $hash,
'agent' => 'Mozilla/Firefox',