mirror of
https://github.com/flarum/core.git
synced 2025-05-05 23:15:22 +02:00
prevent constant to be duplicated during tests
This commit is contained in:
parent
f20696210e
commit
2aee020c14
@ -36,7 +36,9 @@ class QueueServiceProvider extends AbstractServiceProvider
|
|||||||
|
|
||||||
public function register()
|
public function register()
|
||||||
{
|
{
|
||||||
define('ARTISAN_BINARY', 'flarum');
|
if (! defined('ARTISAN_BINARY')) {
|
||||||
|
define('ARTISAN_BINARY', 'flarum');
|
||||||
|
}
|
||||||
|
|
||||||
// Register a simple connection factory that always returns the same
|
// Register a simple connection factory that always returns the same
|
||||||
// connection, as that is enough for our purposes.
|
// connection, as that is enough for our purposes.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user