Skip to content

Commit

Permalink
fix interceptor test
Browse files Browse the repository at this point in the history
  • Loading branch information
alicejli committed Jan 18, 2022
1 parent daae133 commit 4ac0c50
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/Tests/Unit/Transport/GrpcTransportTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -680,9 +680,9 @@ public function interceptUnaryUnary(
$method,
$argument,
$deserialize,
$continuation,
array $metadata = [],
array $options = [],
$continuation
array $options = []
) {
$options['test-interceptor-insert'] = 'inserted-value';
return $continuation($method, $argument, $deserialize, $metadata, $options);
Expand All @@ -692,9 +692,9 @@ public function interceptUnaryStream(
$method,
$argument,
$deserialize,
$continuation,
array $metadata = [],
array $options = [],
$continuation
array $options = []
) {
$options['test-interceptor-insert'] = 'inserted-value';
return $continuation($method, $argument, $deserialize, $metadata, $options);
Expand Down

0 comments on commit 4ac0c50

Please sign in to comment.