mirror of
https://github.com/PrivateBin/PrivateBin.git
synced 2025-10-08 19:38:45 -04:00
improve configuration wording, adjust self check
This commit is contained in:
parent
d5104a1d63
commit
432d3e71d3
4 changed files with 21 additions and 20 deletions
|
@ -272,7 +272,7 @@ class JsonApiTest extends PHPUnit_Framework_TestCase
|
|||
{
|
||||
$mock_yourls_service = $this->_path . DIRECTORY_SEPARATOR . 'yourls.json';
|
||||
$options = parse_ini_file(CONF, true);
|
||||
$options['main']['basepath'] = 'https://example.com/path';
|
||||
$options['main']['basepath'] = 'https://example.com/path/';
|
||||
$options['main']['urlshortener'] = 'https://example.com/path/shortenviayourls?link=';
|
||||
$options['yourls']['apiurl'] = $mock_yourls_service;
|
||||
Helper::createIniFile(CONF, $options);
|
||||
|
|
|
@ -20,7 +20,7 @@ class YourlsProxyTest extends PHPUnit_Framework_TestCase
|
|||
}
|
||||
$this->_mock_yourls_service = $this->_path . DIRECTORY_SEPARATOR . 'yourls.json';
|
||||
$options = parse_ini_file(CONF_SAMPLE, true);
|
||||
$options['main']['basepath'] = 'https://example.com';
|
||||
$options['main']['basepath'] = 'https://example.com/';
|
||||
$options['main']['urlshortener'] = 'https://example.com/shortenviayourls?link=';
|
||||
$options['yourls']['apiurl'] = $this->_mock_yourls_service;
|
||||
Helper::confBackup();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue