Skip to content

Commit daf799d

Browse files
[VarDumper] fix tests
1 parent 74f7c95 commit daf799d

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

Tests/Caster/RdKafkaCasterTest.php

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -77,9 +77,7 @@ public function testDumpProducer()
7777

7878
$expectedDump = <<<EODUMP
7979
RdKafka\Producer {
80-
-error_cb: null
81-
-dr_cb: null
82-
out_q_len: %d
80+
%Aout_q_len: %d
8381
orig_broker_id: 1001
8482
orig_broker_name: "$this->broker/1001"
8583
brokers: RdKafka\Metadata\Collection {
@@ -146,10 +144,7 @@ public function testDumpKafkaConsumer()
146144

147145
$expectedDump = <<<EODUMP
148146
RdKafka\KafkaConsumer {
149-
-error_cb: null
150-
-rebalance_cb: null
151-
-dr_msg_cb: null
152-
subscription: array:1 [
147+
%Asubscription: array:1 [
153148
0 => "test-topic"
154149
]
155150
assignment: []

0 commit comments

Comments
 (0)