Skip to content

Commit a2c9ee1

Browse files
committed
Fix assertion type for $ignore_time
1 parent bafb38c commit a2c9ee1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/Producers/MixpanelPeopleProducerTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ public function testSetIgnoreAlias() {
5757
$this->assertEquals(12345, $msg['$distinct_id']);
5858
$this->assertEquals("token", $msg['$token']);
5959
$this->assertEquals("192.168.0.1", $msg['$ip']);
60-
$this->assertEquals(false, $msg['$ignore_time']);
60+
$this->assertArrayNotHasKey('$ignore_time', $msg);
6161
$this->assertEquals(true, $msg['$ignore_alias']);
6262
$this->assertArrayHasKey('$set', $msg);
6363
$this->assertArrayHasKey("name", $msg['$set']);

0 commit comments

Comments
 (0)