Skip to content

Instantly share code, notes, and snippets.

@emodric
Created November 13, 2012 13:49
Show Gist options
  • Save emodric/4065849 to your computer and use it in GitHub Desktop.
Save emodric/4065849 to your computer and use it in GitHub Desktop.
integration tests failures
1) eZ\Publish\API\Repository\Tests\FieldType\XmlTextIntegrationTest::testCreateContentType
DOMDocument::loadXML(): Specification mandate value for attribute xm in Entity, line: 2
/home/eddie/ezp-next/eZ/Publish/Core/Persistence/Legacy/Content/FieldValue/Converter/XmlText.php:92
/home/eddie/ezp-next/eZ/Publish/Core/Persistence/Legacy/Content/Type/Mapper.php:353
/home/eddie/ezp-next/eZ/Publish/Core/Persistence/Legacy/Content/Type/Mapper.php:204
/home/eddie/ezp-next/eZ/Publish/Core/Persistence/Legacy/Content/Type/Mapper.php:116
/home/eddie/ezp-next/eZ/Publish/Core/Persistence/Legacy/Content/Type/Handler.php:228
/home/eddie/ezp-next/eZ/Publish/Core/Persistence/Legacy/Content/Type/Handler.php:182
/home/eddie/ezp-next/eZ/Publish/Core/Repository/ContentTypeService.php:881
/home/eddie/ezp-next/eZ/Publish/Core/Repository/ContentTypeService.php:1473
/home/eddie/ezp-next/eZ/Publish/API/Repository/Tests/FieldType/BaseIntegrationTest.php:344
/home/eddie/ezp-next/eZ/Publish/API/Repository/Tests/FieldType/BaseIntegrationTest.php:284
2) eZ\Publish\API\Repository\Tests\FieldType\XmlTextIntegrationTest::testLoadField
DOMDocument::loadXML(): Specification mandate value for attribute xm in Entity, line: 2
/home/eddie/ezp-next/eZ/Publish/Core/Persistence/Legacy/Content/FieldValue/Converter/XmlText.php:92
/home/eddie/ezp-next/eZ/Publish/Core/Persistence/Legacy/Content/Type/Mapper.php:353
/home/eddie/ezp-next/eZ/Publish/Core/Persistence/Legacy/Content/Type/Mapper.php:204
/home/eddie/ezp-next/eZ/Publish/Core/Persistence/Legacy/Content/Type/Mapper.php:116
/home/eddie/ezp-next/eZ/Publish/Core/Persistence/Legacy/Content/Type/Handler.php:228
/home/eddie/ezp-next/eZ/Publish/Core/Persistence/Legacy/Content/Type/Handler.php:182
/home/eddie/ezp-next/eZ/Publish/Core/Repository/ContentTypeService.php:881
/home/eddie/ezp-next/eZ/Publish/Core/Repository/ContentTypeService.php:1473
/home/eddie/ezp-next/eZ/Publish/API/Repository/Tests/FieldType/BaseIntegrationTest.php:344
/home/eddie/ezp-next/eZ/Publish/API/Repository/Tests/FieldType/BaseIntegrationTest.php:284
/home/eddie/ezp-next/eZ/Publish/API/Repository/Tests/FieldType/BaseIntegrationTest.php:491
/home/eddie/ezp-next/eZ/Publish/API/Repository/Tests/FieldType/BaseIntegrationTest.php:478
/home/eddie/ezp-next/eZ/Publish/API/Repository/Tests/FieldType/BaseIntegrationTest.php:567
3) eZ\Publish\API\Repository\Tests\ContentServiceTest::testPublishVersionCreatesLocationsDefinedOnCreate
eZ\Publish\Core\Base\Exceptions\NotFoundException: Could not find 'location' with identifier '0123456789abcdef0123456789abcdef'
/home/eddie/ezp-next/eZ/Publish/Core/Persistence/Legacy/Content/Location/Gateway/EzcDatabase.php:105
/home/eddie/ezp-next/eZ/Publish/Core/Persistence/Legacy/Content/Location/Gateway/ExceptionConversion.php:74
/home/eddie/ezp-next/eZ/Publish/Core/Persistence/Legacy/Content/Location/Handler.php:110
/home/eddie/ezp-next/eZ/Publish/Core/Repository/LocationService.php:201
/home/eddie/ezp-next/eZ/Publish/API/Repository/Tests/ContentServiceTest.php:891
--
There were 2 failures:
1) eZ\Publish\API\Repository\Tests\FieldType\XmlTextIntegrationTest::testCreateContentFails with data set #0 (stdClass, 'eZ\\Publish\\Core\\Base\\Exceptions\\InvalidArgumentType')
Failed asserting that PHPUnit_Framework_Error_Warning Object (...) is an instance of class "eZ\Publish\Core\Base\Exceptions\InvalidArgumentType".
/home/eddie/ezp-next/eZ/Publish/API/Repository/Tests/FieldType/BaseIntegrationTest.php:747
2) eZ\Publish\API\Repository\Tests\FieldType\XmlTextIntegrationTest::testUpdateContentFails with data set #0 (stdClass, 'eZ\\Publish\\Core\\Base\\Exceptions\\InvalidArgumentType')
Failed asserting that PHPUnit_Framework_Error_Warning Object (...) is an instance of class "eZ\Publish\Core\Base\Exceptions\InvalidArgumentType".
/home/eddie/ezp-next/eZ/Publish/API/Repository/Tests/FieldType/BaseIntegrationTest.php:777
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment