Skip to content

Commit 8e61bb7

Browse files
committed
Skip and fix test for HHVM with ReadConcerns
1 parent 5b2545e commit 8e61bb7

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

tests/query/query-ctor_error-001.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,5 +39,5 @@ Expected "readConcern" option to be MongoDB\Driver\ReadConcern, array given
3939
OK: Got MongoDB\Driver\Exception\InvalidArgumentException
4040
Expected "readConcern" option to be MongoDB\Driver\ReadConcern, object given
4141
OK: Got MongoDB\Driver\Exception\InvalidArgumentException
42-
Expected "readConcern" option to be MongoDB\Driver\ReadConcern, null given
42+
Expected "readConcern" option to be MongoDB\Driver\ReadConcern, %r(null|NULL)%r given
4343
===DONE===

tests/readConcern/readconcern-ctor_error-002.phpt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
MongoDB\Driver\ReadConcern construction (invalid level type)
33
--SKIPIF--
44
<?php require __DIR__ . "/../utils/basic-skipif.inc"; ?>
5+
<?php if (defined("HHVM_VERSION_ID")) exit("skip HHVM throws Exception instead of InvalidArgumentException"); ?>
56
--FILE--
67
<?php
78
require_once __DIR__ . "/../utils/basic.inc";

0 commit comments

Comments
 (0)