Skip to content

Commit 6e0cab6

Browse files
committed
multi client configuration
1 parent 263949a commit 6e0cab6

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

‎pkg/enqueue/Tests/Symfony/DependencyInjection/TransportFactoryTest.php‎

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ public function testShouldAllowAddConfigurationAsDsnWithoutSlashes()
7070
$rootNode = $tb->root('foo');
7171

7272
$rootNode->append(TransportFactory::getConfiguration());
73-
73+
7474
$processor = new Processor();
7575
$config = $processor->process($tb->buildTree(), [['transport' => 'dsn:']]);
7676

@@ -161,7 +161,7 @@ public function testThrowIfFactoryClassAndFactoryServiceSetAtTheSameTime()
161161
'dsn' => 'foo:',
162162
'factory_class' => 'aFactoryClass',
163163
'factory_service' => 'aFactoryService',
164-
]]]);
164+
], ]]);
165165
}
166166

167167
public function testThrowIfConnectionFactoryClassUsedWithFactoryClassAtTheSameTime()
@@ -180,7 +180,7 @@ public function testThrowIfConnectionFactoryClassUsedWithFactoryClassAtTheSameTi
180180
'dsn' => 'foo:',
181181
'connection_factory_class' => 'aFactoryClass',
182182
'factory_service' => 'aFactoryService',
183-
]]]);
183+
], ]]);
184184
}
185185

186186
public function testThrowIfConnectionFactoryClassUsedWithFactoryServiceAtTheSameTime()
@@ -198,7 +198,7 @@ public function testThrowIfConnectionFactoryClassUsedWithFactoryServiceAtTheSame
198198
'dsn' => 'foo:',
199199
'connection_factory_class' => 'aFactoryClass',
200200
'factory_service' => 'aFactoryService',
201-
]]]);
201+
], ]]);
202202
}
203203

204204
public function testShouldAllowSetFactoryClass()
@@ -213,7 +213,7 @@ public function testShouldAllowSetFactoryClass()
213213
'transport' => [
214214
'dsn' => 'foo:',
215215
'factory_class' => 'theFactoryClass',
216-
]]]);
216+
], ]]);
217217

218218
$this->assertArrayHasKey('factory_class', $config['transport']);
219219
$this->assertSame('theFactoryClass', $config['transport']['factory_class']);
@@ -231,7 +231,7 @@ public function testShouldAllowSetFactoryService()
231231
'transport' => [
232232
'dsn' => 'foo:',
233233
'factory_service' => 'theFactoryService',
234-
]]]);
234+
], ]]);
235235

236236
$this->assertArrayHasKey('factory_service', $config['transport']);
237237
$this->assertSame('theFactoryService', $config['transport']['factory_service']);
@@ -249,7 +249,7 @@ public function testShouldAllowSetConnectionFactoryClass()
249249
'transport' => [
250250
'dsn' => 'foo:',
251251
'connection_factory_class' => 'theFactoryClass',
252-
]]]);
252+
], ]]);
253253

254254
$this->assertArrayHasKey('connection_factory_class', $config['transport']);
255255
$this->assertSame('theFactoryClass', $config['transport']['connection_factory_class']);
@@ -268,7 +268,7 @@ public function testThrowIfExtraOptionGiven()
268268
'transport' => [
269269
'dsn' => 'foo:',
270270
'extraOption' => 'aVal',
271-
]], $config
271+
], ], $config
272272
);
273273
}
274274

0 commit comments

Comments
 (0)