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:
762a786
)
[tests] Prevent bin/worker.php from being called during tests
author
Hypolite Petovan
<mrpetovan@gmail.com>
Sat, 7 Jul 2018 21:46:51 +0000
(17: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
e566b58
..
6a4f778
100644
(file)
--- a/
tests/bootstrap.php
+++ b/
tests/bootstrap.php
@@
-13,7
+13,7
@@
require_once __DIR__.'/../include/api.php';
new App(dirname(__DIR__));
-\Friendica\Core\Config::set('system', '
url', 'http://localhost/'
);
+\Friendica\Core\Config::set('system', '
worker_dont_fork', true
);
// Backward compatibility
if (!class_exists(TestCase::class)) {