]> granicus.if.org Git - php/commitdiff
fix test
authorAnatol Belski <ab@php.net>
Wed, 30 Sep 2015 10:18:32 +0000 (12:18 +0200)
committerMatteo Beccati <mbeccati@php.net>
Mon, 12 Oct 2015 07:46:52 +0000 (09:46 +0200)
ext/mysqli/tests/mysqli_constants.phpt

index 9bbc8bb4b734a81e782964ba06d04abb38f70ba1..dd0f769e91677071d83b6ef66a7f9ecc94615cd5 100644 (file)
@@ -199,6 +199,10 @@ require_once('skipifconnectfailure.inc');
                $expected_constants["MYSQLI_CLIENT_CAN_HANDLE_EXPIRED_PASSWORDS"] = true;
        }
 
+       if ($IS_MYSQLND) {
+               $expected_constants["MYSQLI_TYPE_JSON"] = true;
+       }
+
        $unexpected_constants = array();
 
        foreach ($constants as $group => $consts) {