mirror of
https://github.com/flarum/framework.git
synced 2025-02-06 16:51:02 +08:00
prevent constant to be duplicated during tests
This commit is contained in:
parent
55d7e86a38
commit
c4806e19b5
|
@ -36,7 +36,9 @@ class QueueServiceProvider extends AbstractServiceProvider
|
||||||
|
|
||||||
public function register()
|
public function register()
|
||||||
{
|
{
|
||||||
|
if (! defined('ARTISAN_BINARY')) {
|
||||||
define('ARTISAN_BINARY', 'flarum');
|
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…
Reference in New Issue
Block a user