Ph3nol / NotificationPusher

Standalone PHP library for easy devices notifications push.
MIT License
1.18k stars 273 forks source link

Travis build fix for php 7.1 #152

Closed seyfer closed 7 years ago

seyfer commented 7 years ago

The problem in tests here:

https://github.com/Ph3nol/NotificationPusher/blob/master/tests/units/Sly/NotificationPusher/Model/Push.php#L95

From Travis:

=> tests\units\Sly\NotificationPusher\Model\Push::testStatus():
In file /home/travis/build/Ph3nol/NotificationPusher/tests/units/Sly/NotificationPusher/Model/Push.php on line 84, mageekguy\atoum\asserters\dateTime() failed: object(DateTime) is not a clone of object(DateTime)
-Expected
+Actual
@@ -2 +2 @@
-class DateTime#163 (3) {
+class DateTime#180 (3) {
@@ -4 +4 @@
-  string(26) "2017-06-12 07:31:20.585408"
+  string(26) "2017-06-12 07:31:20.568968"
seyfer commented 7 years ago

Fixed https://github.com/Ph3nol/NotificationPusher/pull/141