Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniil Glushchenko committed Jun 19, 2024
1 parent 587009c commit 81c7cc5
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ public function testJsonSerialize()
->setVibration(true)
->jsonSerialize();

$this->assertCount(12, $array);
$this->assertCount(13, $array);
$this->assertSame('http://example.com/banner.png', $array['android_banner']);
$this->assertSame(5, $array['android_badges']);
$this->assertSame('http://example.com/image.png', $array['android_custom_icon']);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ public function testJsonSerialize()
->setVibration(true)
->jsonSerialize();

$this->assertCount(12, $array);
$this->assertCount(13, $array);
$this->assertSame('http://example.com/banner.png', $array['huawei_android_banner']);
$this->assertSame(5, $array['huawei_android_badges']);
$this->assertSame('http://example.com/image.png', $array['huawei_android_custom_icon']);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ public function testJsonSerialize()
->setTrimContent(true)
->jsonSerialize();

$this->assertCount(7, $array);
$this->assertCount(8, $array);
$this->assertSame(1, $array['apns_trim_content']);
$this->assertSame(5, $array['ios_badges']);
$this->assertSame('1', $array['ios_category_id']);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -622,7 +622,7 @@ public function testJsonSerialize()
->jsonSerialize();

// Test the generic properties
$this->assertCount(77, $array);
$this->assertCount(80, $array);
$this->assertSame('now', $array['send_date']);
$this->assertSame('America/New_York', $array['timezone']);
$this->assertTrue($array['ignore_user_timezone']);
Expand Down

0 comments on commit 81c7cc5

Please sign in to comment.