Add more unit tests for Pecl-based factory

Do not try to install UUID ext in HHVM run
This commit is contained in:
Thibaud Fabre
2014-12-17 02:39:03 +01:00
parent 2873c1ad3f
commit 34cc28cc30
4 changed files with 156 additions and 20 deletions
+1 -1
View File
@@ -719,7 +719,7 @@ class Uuid implements UuidInterface, \JsonSerializable
public static function getFactory()
{
if (! self::$factory) {
self::$factory = new UuidFactory();
self::$factory = new PeclUuidFactory(new UuidFactory());
}
return self::$factory;