Skip to content

Instantly share code, notes, and snippets.

@emodric
Created August 23, 2012 12:46
Show Gist options
  • Save emodric/3436314 to your computer and use it in GitHub Desktop.
Save emodric/3436314 to your computer and use it in GitHub Desktop.
ezp-next REST section tests
www-data@void ~/ezp-next/eZ/Publish/API/Repository/Tests [master] $ phpunit -c phpunit-rest-json.xml -v --group section
PHPUnit 3.6.11 by Sebastian Bergmann.
Configuration read from /var/www/ezp-next/eZ/Publish/API/Repository/Tests/phpunit-rest-json.xml
...............ESE..SSSSS
Time: 11 seconds, Memory: 21.00Mb
There were 2 errors:
1) eZ\Publish\API\Repository\Tests\SectionServiceTest::testCountAssignedContents
Exception: @TODO: Implement.
/var/www/ezp-next/eZ/Publish/Core/REST/Client/SectionService.php:208
/var/www/ezp-next/eZ/Publish/API/Repository/Tests/SectionServiceTest.php:494
2) eZ\Publish\API\Repository\Tests\SectionServiceTest::testCountAssignedContentsReturnsZeroByDefault
Exception: @TODO: Implement.
/var/www/ezp-next/eZ/Publish/Core/REST/Client/SectionService.php:208
/var/www/ezp-next/eZ/Publish/API/Repository/Tests/SectionServiceTest.php:582
There were 6 skipped tests:
1) eZ\Publish\API\Repository\Tests\SectionServiceTest::testAssignSection
This test depends on "eZ\Publish\API\Repository\Tests\SectionServiceTest::testCountAssignedContents" to pass.
2) eZ\Publish\API\Repository\Tests\SectionServiceTest::testDeleteSectionThrowsBadStateException
This test depends on "eZ\Publish\API\Repository\Tests\SectionServiceTest::testAssignSection" to pass.
3) eZ\Publish\API\Repository\Tests\SectionServiceTest::testCreateSectionInTransactionWithRollback
This test depends on "eZ\Publish\API\Repository\Tests\RepositoryTest::testRollback" to pass.
4) eZ\Publish\API\Repository\Tests\SectionServiceTest::testCreateSectionInTransactionWithCommit
This test depends on "eZ\Publish\API\Repository\Tests\RepositoryTest::testCommit" to pass.
5) eZ\Publish\API\Repository\Tests\SectionServiceTest::testUpdateSectionInTransactionWithRollback
This test depends on "eZ\Publish\API\Repository\Tests\RepositoryTest::testRollback" to pass.
6) eZ\Publish\API\Repository\Tests\SectionServiceTest::testUpdateSectionInTransactionWithCommit
This test depends on "eZ\Publish\API\Repository\Tests\RepositoryTest::testCommit" to pass.
FAILURES!
Tests: 19, Assertions: 18, Errors: 2, Skipped: 6.
www-data@void ~/ezp-next/eZ/Publish/API/Repository/Tests [master] $
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment