Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.10.12

Bug #21204 Remove deprecated features from tests
Submitted: 2017-04-29 08:25 UTC
From: dfukagaw28 Assigned:
Status: Duplicate Package: Mail_Mime (version 1.10.0)
PHP Version: 5.6.30 OS: Linux (CentOS 7.3.1611)
Roadmaps: 1.10.1    
Subscription  


 [2017-04-29 08:25 UTC] dfukagaw28 (Daiji Fukagawa)
Description: ------------ tests/test_Bug_7561_1.phpt fails because it uses deprecated variables. I believe that removing the relevant lines causes no side effect for most environments. http://php.net/manual/en/mbstring.configuration.php#ini.mbstring.int ernal-encoding http://php.net/manual/en/mbstring.configuration.php#ini.mbstring.ht tp-output Test script: --------------- phpunit ./tests Expected result: ---------------- OK, but incomplete, skipped, or risky tests! Tests: 40, Assertions: 40, Skipped: 2. Actual result: -------------- There was 1 failure: 1) /Mail_Mime/tests/test_Bug_7561_1.phpt Failed asserting that two strings are equal. --- Expected +++ Actual @@ @@ -'Micha=C3=ABl =C3=89ric St=C3=A9phane' +'Deprecated: ini_set(): Use of mbstring.internal_encoding is deprecated in - on line 5 + +Deprecated: ini_set(): Use of mbstring.http_output is deprecated in - on line 6 +Micha=C3=ABl =C3=89ric St=C3=A9phane' FAILURES! Tests: 40, Assertions: 40, Failures: 1, Skipped: 2.

Comments

 [2017-04-29 08:29 UTC] dfukagaw28 (Daiji Fukagawa)
-Status: Open +Status: Duplicate
See #21203