diff --git a/tests/framework/caching/PgSQLCacheTest.php b/tests/framework/caching/PgSQLCacheTest.php index ef56e10..193f971 100644 --- a/tests/framework/caching/PgSQLCacheTest.php +++ b/tests/framework/caching/PgSQLCacheTest.php @@ -25,6 +25,9 @@ class PgSQLCacheTest extends DbCacheTest if (!extension_loaded('pdo') || !extension_loaded('pdo_pgsql')) { $this->markTestSkipped('pdo and pdo_pgsql extensions are required.'); } + if (defined('HHVM_VERSION')) { + $this->markTestSkipped('HHVMs PgSQL implementation does not seem to support blob colums in the way they are used here.'); + } $this->getConnection()->createCommand(' CREATE TABLE IF NOT EXISTS "cache" diff --git a/tests/framework/helpers/IpHelperTest.php b/tests/framework/helpers/IpHelperTest.php index bb98f6d..f515f76 100644 --- a/tests/framework/helpers/IpHelperTest.php +++ b/tests/framework/helpers/IpHelperTest.php @@ -56,7 +56,7 @@ class IpHelperTest extends TestCase try { IpHelper::expandIPv6('fa01::1/64'); } catch (\Exception $exception) { - $this->assertSame('inet_pton(): Unrecognized address fa01::1/64', $exception->getMessage()); + $this->assertStringEndsWith('Unrecognized address fa01::1/64', $exception->getMessage()); } }