mirror of
https://github.com/flarum/core.git
synced 2025-06-24 03:35:01 +02:00
prevent constant to be duplicated during tests
This commit is contained in:
@ -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.
|
||||
|
Reference in New Issue
Block a user