Skip to content

Instantly share code, notes, and snippets.

@pspanja
Created October 8, 2012 09:52
Show Gist options
  • Save pspanja/3851744 to your computer and use it in GitHub Desktop.
Save pspanja/3851744 to your computer and use it in GitHub Desktop.
Integration tests
PHPUnit 3.6.12 by Sebastian Bergmann.
Configuration read from /var/www/ezp-next/eZ/Publish/API/Repository/Tests/phpunit-legacy.xml
............................................................. 61 / 1273 ( 4%)
............................................................. 122 / 1273 ( 9%)
............................................................. 183 / 1273 ( 14%)
............................................................. 244 / 1273 ( 19%)
............................................................. 305 / 1273 ( 23%)
............................................................. 366 / 1273 ( 28%)
............................................................. 427 / 1273 ( 33%)
............................................................. 488 / 1273 ( 38%)
.......................................................S..... 549 / 1273 ( 43%)
............................................................. 610 / 1273 ( 47%)
.....................................................F....... 671 / 1273 ( 52%)
.....F................................................I...... 732 / 1273 ( 57%)
............................................................. 793 / 1273 ( 62%)
...F......................................................... 854 / 1273 ( 67%)
.......FF.................................................... 915 / 1273 ( 71%)
............................................................. 976 / 1273 ( 76%)
...................................F.....FSSF............F.F. 1037 / 1273 ( 81%)
........FF...F.F......ESSSSS................................. 1098 / 1273 ( 86%)
...........................................................SS 1159 / 1273 ( 91%)
S............................................................ 1220 / 1273 ( 95%)
.....................................SSSSSSSSSS...
Time: 10:21, Memory: 93.00Mb
There was 1 error:
1) eZ\Publish\API\Repository\Tests\URLWildcardServiceTest::testTranslate
eZ\Publish\Core\Base\Exceptions\NotFoundException: Could not find 'URLWildcard' with identifier '/articles/2012/05/sindelfingen'
/var/www/ezp-next/eZ/Publish/Core/Repository/URLWildcardService.php:245
/var/www/ezp-next/eZ/Publish/API/Repository/Tests/URLWildcardServiceTest.php:418
--
There were 14 failures:
1) eZ\Publish\API\Repository\Tests\ContentTypeServiceTest::testCreateContentTypeGroupStructLanguageDependentValues
Object property "mainLanguageCode" incorrect.
Failed asserting that null matches expected 'ger-DE'.
/var/www/ezp-next/eZ/Publish/API/Repository/Tests/BaseTest.php:238
/var/www/ezp-next/eZ/Publish/API/Repository/Tests/BaseTest.php:212
/var/www/ezp-next/eZ/Publish/API/Repository/Tests/ContentTypeServiceTest.php:158
2) eZ\Publish\API\Repository\Tests\ContentTypeServiceTest::testUpdateContentTypeGroupStructLanguageDependentValues
Object property "mainLanguageCode" incorrect.
Failed asserting that null matches expected 'eng-GB'.
/var/www/ezp-next/eZ/Publish/API/Repository/Tests/BaseTest.php:238
/var/www/ezp-next/eZ/Publish/API/Repository/Tests/BaseTest.php:192
/var/www/ezp-next/eZ/Publish/API/Repository/Tests/ContentTypeServiceTest.php:500
3) eZ\Publish\API\Repository\Tests\ContentServiceTest::testUpdateContentThrowsContentValidationExceptionWhenInitialLanguageCodeIsNotSet
Failed asserting that exception of type "\eZ\Publish\API\Repository\Exceptions\ContentValidationException" is thrown.
4) eZ\Publish\API\Repository\Tests\ContentServiceTest::testURLAliasesCreatedForUpdatedContent
Alias with path "Design/Plain-site/An-awesome-forum2" in languages "eng-US" not expected.
/var/www/ezp-next/eZ/Publish/API/Repository/Tests/ContentServiceTest.php:4190
/var/www/ezp-next/eZ/Publish/API/Repository/Tests/ContentServiceTest.php:4081
5) eZ\Publish\API\Repository\Tests\ContentServiceTest::testCustomURLAliasesNotHistorizedOnUpdatedContent
Alias with path "my/fancy/story-about-ez-publish" in languages "eng-US" not expected.
/var/www/ezp-next/eZ/Publish/API/Repository/Tests/ContentServiceTest.php:4190
/var/www/ezp-next/eZ/Publish/API/Repository/Tests/ContentServiceTest.php:4142
6) eZ\Publish\API\Repository\Tests\TrashServiceTest::testRecoverSetsNewMainLocationId
Failed asserting that null matches expected 190.
/var/www/ezp-next/eZ/Publish/API/Repository/Tests/TrashServiceTest.php:402
7) eZ\Publish\API\Repository\Tests\URLAliasServiceTest::testCreateUrlAliasPropertyValues
Object property "path" incorrect.
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
-'/Home/My-New-Site'
+'Home/My-New-Site'
/var/www/ezp-next/eZ/Publish/API/Repository/Tests/BaseTest.php:238
/var/www/ezp-next/eZ/Publish/API/Repository/Tests/BaseTest.php:192
/var/www/ezp-next/eZ/Publish/API/Repository/Tests/URLAliasServiceTest.php:121
8) eZ\Publish\API\Repository\Tests\URLAliasServiceTest::testCreateUrlAliasPropertyValuesWithAlwaysAvailable
Object property "path" incorrect.
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
-'/Home/My-New-Site'
+'Home/My-New-Site'
/var/www/ezp-next/eZ/Publish/API/Repository/Tests/BaseTest.php:238
/var/www/ezp-next/eZ/Publish/API/Repository/Tests/BaseTest.php:192
/var/www/ezp-next/eZ/Publish/API/Repository/Tests/URLAliasServiceTest.php:239
9) eZ\Publish\API\Repository\Tests\URLAliasServiceTest::testListGlobalAliases
Failed asserting that 2 matches expected 3.
/var/www/ezp-next/eZ/Publish/API/Repository/Tests/URLAliasServiceTest.php:609
10) eZ\Publish\API\Repository\Tests\URLAliasServiceTest::testListGlobalAliasesWithOffset
Failed asserting that 1 matches expected 2.
/var/www/ezp-next/eZ/Publish/API/Repository/Tests/URLAliasServiceTest.php:688
11) eZ\Publish\API\Repository\Tests\URLWildcardServiceTest::testCreateSetsPropertiesOnURLWildcard
Object property "sourceUrl" incorrect.
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
-'/articles/*'
+'articles/*'
/var/www/ezp-next/eZ/Publish/API/Repository/Tests/BaseTest.php:238
/var/www/ezp-next/eZ/Publish/API/Repository/Tests/BaseTest.php:192
/var/www/ezp-next/eZ/Publish/API/Repository/Tests/URLWildcardServiceTest.php:81
12) eZ\Publish\API\Repository\Tests\URLWildcardServiceTest::testCreateWithOptionalForwardParameter
Object property "sourceUrl" incorrect.
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
-'/articles/*'
+'articles/*'
/var/www/ezp-next/eZ/Publish/API/Repository/Tests/BaseTest.php:238
/var/www/ezp-next/eZ/Publish/API/Repository/Tests/BaseTest.php:192
/var/www/ezp-next/eZ/Publish/API/Repository/Tests/URLWildcardServiceTest.php:109
13) eZ\Publish\API\Repository\Tests\URLWildcardServiceTest::testCreateThrowsContentValidationExceptionWhenPlaceholderSequenceNotStartsWithOne
Failed asserting that exception of type "\eZ\Publish\API\Repository\Exceptions\ContentValidationException" is thrown.
14) eZ\Publish\API\Repository\Tests\URLWildcardServiceTest::testLoadSetsPropertiesOnURLWildcard
Object property "sourceUrl" incorrect.
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
-'/articles/*'
+'articles/*'
/var/www/ezp-next/eZ/Publish/API/Repository/Tests/BaseTest.php:238
/var/www/ezp-next/eZ/Publish/API/Repository/Tests/BaseTest.php:192
/var/www/ezp-next/eZ/Publish/API/Repository/Tests/URLWildcardServiceTest.php:245
FAILURES!
Tests: 1263, Assertions: 1882, Failures: 14, Errors: 1, Incomplete: 1, Skipped: 21.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment