File tree Expand file tree Collapse file tree 5 files changed +6
-6
lines changed
src/test/php/Gomoob/Pushwoosh/Model/Notification Expand file tree Collapse file tree 5 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 49
49
}
50
50
},
51
51
"require" : {
52
- "php" : " ^5.6 || ^7 .0" ,
52
+ "php" : " ^7.4 || ^8 .0" ,
53
53
"ext-curl" : " *" ,
54
54
"ext-json" : " *"
55
55
},
59
59
"phpdocumentor/phpdocumentor" : " ^2.9.0" ,
60
60
"phploc/phploc" : " ^3.0.1" ,
61
61
"phpmd/phpmd" : " ^2.4.3" ,
62
- "phpunit/phpunit" : " ^5.5.4 " ,
62
+ "phpunit/phpunit" : " ^8.0 " ,
63
63
"satooshi/php-coveralls" : " ^1.0.1" ,
64
64
"sebastian/phpcpd" : " ^2.0.4" ,
65
65
"squizlabs/php_codesniffer" : " ^3.5" ,
Original file line number Diff line number Diff line change @@ -174,7 +174,7 @@ public function testJsonSerialize()
174
174
->setVibration (true )
175
175
->jsonSerialize ();
176
176
177
- $ this ->assertCount (12 , $ array );
177
+ $ this ->assertCount (13 , $ array );
178
178
$ this ->assertSame ('http://example.com/banner.png ' , $ array ['android_banner ' ]);
179
179
$ this ->assertSame (5 , $ array ['android_badges ' ]);
180
180
$ this ->assertSame ('http://example.com/image.png ' , $ array ['android_custom_icon ' ]);
Original file line number Diff line number Diff line change @@ -120,7 +120,7 @@ public function testJsonSerialize()
120
120
->setVibration (true )
121
121
->jsonSerialize ();
122
122
123
- $ this ->assertCount (12 , $ array );
123
+ $ this ->assertCount (13 , $ array );
124
124
$ this ->assertSame ('http://example.com/banner.png ' , $ array ['huawei_android_banner ' ]);
125
125
$ this ->assertSame (5 , $ array ['huawei_android_badges ' ]);
126
126
$ this ->assertSame ('http://example.com/image.png ' , $ array ['huawei_android_custom_icon ' ]);
Original file line number Diff line number Diff line change @@ -120,7 +120,7 @@ public function testJsonSerialize()
120
120
->setTrimContent (true )
121
121
->jsonSerialize ();
122
122
123
- $ this ->assertCount (7 , $ array );
123
+ $ this ->assertCount (8 , $ array );
124
124
$ this ->assertSame (1 , $ array ['apns_trim_content ' ]);
125
125
$ this ->assertSame (5 , $ array ['ios_badges ' ]);
126
126
$ this ->assertSame ('1 ' , $ array ['ios_category_id ' ]);
Original file line number Diff line number Diff line change @@ -622,7 +622,7 @@ public function testJsonSerialize()
622
622
->jsonSerialize ();
623
623
624
624
// Test the generic properties
625
- $ this ->assertCount (77 , $ array );
625
+ $ this ->assertCount (80 , $ array );
626
626
$ this ->assertSame ('now ' , $ array ['send_date ' ]);
627
627
$ this ->assertSame ('America/New_York ' , $ array ['timezone ' ]);
628
628
$ this ->assertTrue ($ array ['ignore_user_timezone ' ]);
You can’t perform that action at this time.
0 commit comments