•  
      request #5721 REST API tests are broken
    Infos
    #5721
    Nicolas Terray (nterray)
    2014-02-06 11:32
    2013-12-11 09:27
    5833
    Details
    REST API tests are broken

    The testlink #267 is failing on Tuleap 6.7.99.41 :

    src/utils/php-launcher.sh vendor/phpunit/phpunit/phpunit.php tests/rest
    PHPUnit 3.7.28-12-g236f65c by Sebastian Bergmann.
    
    ...........F.............
    
    Time: 6.35 seconds, Memory: 11.25Mb
    
    There was 1 failure:
    
    1) ProjectTest::testGETbyIdForAdmin
    Failed asserting that two arrays are equal.
    --- Expected
    +++ Actual
    @@ @@
     Array (
    -    'id' => 101
    +    'id' => '101'
         'uri' => 'projects/101'
         'label' => 'Long name'
         'resources' => Array (
    -        0 => Array (...)
    -        1 => Array (...)
    -        2 => Array (...)
    -        3 => Array (...)
    +        0 => 'projects/101/plannings'
         )
     )
    
    /mnt/tests/rest/ProjectTest.php:45
    
    FAILURES!
    Tests: 25, Assertions: 162, Failures: 1.
    make: *** [api_test] Error 1
    
    API
    6.8
    Empty
    • [ ] enhancement
    • [ ] internal improvement
    Empty
    Stage
    Nicolas Terray (nterray)
    Closed
    Empty
    Attachments
    Empty
    References

    Follow-ups

    User avatar
    • Original Submission
      Something went wrong, the follow up content couldn't be loaded
      Only formatting have been changed, you should switch to markup to see the changes
    • Status changed from Under implementation to Under review
    User avatar
    • Status changed from New to Under implementation
    • Assigned to changed from None to Nicolas Terray (nterray)