feat: Add support for metadataCallback on client options by Hectorhammett · Pull Request #9298 · googleapis/google-cloud-php · GitHub
Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions Gax/src/Options/CallOptions.php
2 changes: 2 additions & 0 deletions Gax/tests/Unit/GapicClientTraitTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -1682,8 +1682,10 @@ public function testCallOptionsForV2Surface()
]),
'timeoutMillis' => null, // adds null timeoutMillis,
'transportOptions' => [],
'metadataCallback' => null,
]
)

->shouldBeCalledOnce()
->willReturn(new FulfilledPromise(new Operation()));

Expand Down
67 changes: 67 additions & 0 deletions Gax/tests/Unit/Options/CallOptionsTest.php
Loading