Merge remote-tracking branch 'origin/master' into php8

This commit is contained in:
github-actions[bot]
2022-11-03 18:55:30 +00:00
5 changed files with 29 additions and 20 deletions

View File

@@ -273,7 +273,7 @@ class JsonApiTest extends 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'; // missing slash gets added by Configuration constructor
$options['main']['urlshortener'] = 'https://example.com/path/shortenviayourls?link=';
$options['yourls']['apiurl'] = $mock_yourls_service;
Helper::createIniFile(CONF, $options);