File tree Expand file tree Collapse file tree 2 files changed +7
-0
lines changed
tests/Unit/DependencyInjection Expand file tree Collapse file tree 2 files changed +7
-0
lines changed Original file line number Diff line number Diff line change 52
52
"matthiasnoback/symfony-dependency-injection-test" : " ^4.0 || ^5.0" ,
53
53
"nyholm/nsa" : " ^1.1" ,
54
54
"nyholm/psr7" : " ^1.2.1" ,
55
+ "php-http/throttle-plugin" : " ^1.1" ,
55
56
"php-http/cache-plugin" : " ^1.7" ,
56
57
"php-http/mock-client" : " ^1.2" ,
57
58
"php-http/promise" : " ^1.0" ,
Original file line number Diff line number Diff line change @@ -162,6 +162,11 @@ public function testClientPlugins(): void
162
162
'only_server_exception ' => true ,
163
163
],
164
164
],
165
+ [
166
+ 'throttle ' => [
167
+ 'name ' => 'test ' ,
168
+ ],
169
+ ],
165
170
],
166
171
],
167
172
],
@@ -184,6 +189,7 @@ public function testClientPlugins(): void
184
189
'httplug.client.acme.authentication.my_basic ' ,
185
190
'httplug.client.acme.plugin.cache ' ,
186
191
'httplug.client.acme.plugin.error ' ,
192
+ 'httplug.client.acme.plugin.throttle ' ,
187
193
];
188
194
$ pluginReferences = array_map (function ($ id ) {
189
195
return new Reference ($ id );
You can’t perform that action at this time.
0 commit comments