Skip to content

Commit c3ea71b

Browse files
committed
Adjust readme
1 parent 584d950 commit c3ea71b

File tree

2 files changed

+4
-10
lines changed

2 files changed

+4
-10
lines changed

README.md

+2-8
Original file line numberDiff line numberDiff line change
@@ -249,17 +249,11 @@ This service provider will slightly modify the internal DatabaseReminderReposito
249249

250250
### Queues
251251

252-
If you want to use MongoDB as your database backend, change the default queue driver in `config/queue.php`:
253-
254-
```php
255-
'default' => 'mongodb',
256-
```
257-
258-
And add the following connection:
252+
If you want to use MongoDB as your database backend, change the the driver in `config/queue.php`:
259253

260254
```php
261255
'connections' => [
262-
'mongodb' => [
256+
'database' => [
263257
'driver' => 'mongodb',
264258
'table' => 'jobs',
265259
'queue' => 'default',

tests/TestCase.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@ protected function getEnvironmentSetUp($app)
3939
$app['config']->set('auth.providers.users.model', 'User');
4040
$app['config']->set('cache.driver', 'array');
4141

42-
$app['config']->set('queue.default', 'mongodb');
43-
$app['config']->set('queue.connections.mongodb', [
42+
$app['config']->set('queue.default', 'database');
43+
$app['config']->set('queue.connections.database', [
4444
'driver' => 'mongodb',
4545
'table' => 'jobs',
4646
'queue' => 'default',

0 commit comments

Comments
 (0)