Skip to content
This repository was archived by the owner on Jul 19, 2024. It is now read-only.

Commit 0b051e3

Browse files
add back args to unit test
1 parent 51c87d5 commit 0b051e3

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

tests/GoogleCloudPubSubAdapterTest.php

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,14 @@ public function testSubscribeWhenSubscriptionMustBeCreated()
140140
->andReturn(false);
141141
$subscription->shouldReceive('create')
142142
->once();
143+
$subscription->shouldReceive('pull')
144+
->with([
145+
'grpcOptions' => [
146+
'timeoutMillis' => null,
147+
],
148+
])
149+
->once()
150+
->andReturn($messageBatch1);
143151

144152
$subscription->shouldReceive('acknowledge')
145153
->with($message1)

0 commit comments

Comments
 (0)