mirror of
https://github.com/flarum/framework.git
synced 2025-02-06 08:45:15 +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()
|
||||
{
|
||||
define('ARTISAN_BINARY', 'flarum');
|
||||
if (! defined('ARTISAN_BINARY')) {
|
||||
define('ARTISAN_BINARY', 'flarum');
|
||||
}
|
||||
|
||||
// Register a simple connection factory that always returns the same
|
||||
// connection, as that is enough for our purposes.
|
||||
|
|
Loading…
Reference in New Issue
Block a user