Skip to content

Commit f2763c3

Browse files
committed
setImage('Image')
1 parent f68179b commit f2763c3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/test/php/Gomoob/Pushwoosh/Model/Notification/NotificationTest.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -541,6 +541,7 @@ public function testJsonSerialize()
541541
->setGcmTtl(3600)
542542
->setIcon('icon')
543543
->setTitle('Title')
544+
->setImage('Image')
544545
)
545546
->setIOS(
546547
IOS::create()
@@ -666,6 +667,7 @@ public function testJsonSerialize()
666667
$this->assertSame(3600, $array['chrome_gcm_ttl']);
667668
$this->assertSame('icon', $array['chrome_icon']);
668669
$this->assertSame('Title', $array['chrome_title']);
670+
$this->assertSame('Image', $array['chrome_image']);
669671

670672
// Test IOS parameters
671673
$this->assertSame(1, $array['apns_trim_content']);

0 commit comments

Comments
 (0)