Skip to content

Commit a5b2641

Browse files
committed
fix simple client.
1 parent b15f3b9 commit a5b2641

8 files changed

Lines changed: 145 additions & 504 deletions

File tree

‎docker-compose.yml‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ services:
2929
- PREDIS_DSN=redis+predis://redis
3030
- PHPREDIS_DSN=redis+phpredis://redis
3131
- GPS_DSN=gps:?projectId=mqdev
32+
- SQS_DSN=sqs:?key=key&secret=secret&region=us-east-1&endpoint=http://localstack:4576&version=latest
3233
- RABBITMQ_HOST=rabbitmq
3334
- RABBITMQ_USER=guest
3435
- RABBITMQ_PASSWORD=guest

‎docs/bundle/functional_testing.md‎

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,7 @@ Here's how you can configure it.
1818
# app/config/config_test.yml
1919

2020
enqueue:
21-
transport:
22-
default: 'null'
23-
'null': ~
21+
transport: 'null:'
2422
client: ~
2523
```
2624

‎docs/bundle/quick_tour.md‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,7 @@ First, you have to configure a transport layer and set one to be default.
4848
# app/config/config.yml
4949

5050
enqueue:
51-
transport:
52-
default: "amqp:"
51+
transport: "amqp:"
5352
client: ~
5453
```
5554

‎pkg/enqueue-bundle/Tests/Functional/UseCasesTest.php‎

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
use Interop\Queue\PurgeQueueNotSupportedException;
1616
use Symfony\Component\Console\Tester\CommandTester;
1717
use Symfony\Component\Filesystem\Filesystem;
18-
use Symfony\Component\HttpKernel\Kernel;
1918

2019
/**
2120
* @group functional
@@ -103,11 +102,7 @@ public function provideEnqueueConfigs()
103102

104103
yield 'sqs' => [[
105104
'transport' => [
106-
'dsn' => 'sqs:',
107-
'key' => getenv('AWS_SQS_KEY'),
108-
'secret' => getenv('AWS_SQS_SECRET'),
109-
'region' => getenv('AWS_SQS_REGION'),
110-
'endpoint' => getenv('AWS_SQS_ENDPOINT'),
105+
'dsn' => getenv('SQS_DSN'),
111106
],
112107
]];
113108

0 commit comments

Comments
 (0)