https://reisub.nsupdate.info/git
/
friendica.git
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
59c38d1
)
Set system.hostname in test bootstrap
author
Hypolite Petovan
<mrpetovan@gmail.com>
Sun, 8 Jul 2018 05:46:22 +0000
(
01:46
-0400)
committer
Hypolite Petovan
<mrpetovan@gmail.com>
Mon, 16 Jul 2018 23:38:16 +0000
(19:38 -0400)
tests/bootstrap.php
patch
|
blob
|
history
diff --git
a/tests/bootstrap.php
b/tests/bootstrap.php
index
6c04450
..
4bc3e93
100644
(file)
--- a/
tests/bootstrap.php
+++ b/
tests/bootstrap.php
@@
-14,6
+14,7
@@
require_once __DIR__.'/../include/api.php';
new App(dirname(__DIR__));
\Friendica\Core\Config::set('system', 'url', 'http://localhost');
+\Friendica\Core\Config::set('system', 'hostname', 'localhost');
\Friendica\Core\Config::set('system', 'worker_dont_fork', true);
// Backward compatibility