Commit f31ef386 authored by Bas de Nooijer's avatar Bas de Nooijer

Less strict test, because HHVM uses a slightly different error message

parent f30436d2
......@@ -74,7 +74,7 @@ class AddTest extends \PHPUnit_Framework_TestCase
} catch (\PHPUnit_Framework_Error $e) {
$this->assertContains(
'Argument 1 passed to '.get_class($this->command).'::addDocument() must implement interface '.
'Solarium\QueryType\Update\Query\Document\DocumentInterface, instance of stdClass given',
'Solarium\QueryType\Update\Query\Document\DocumentInterface',
$e->getMessage()
);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment