Skip to content
This repository was archived by the owner on Nov 8, 2022. It is now read-only.
This repository was archived by the owner on Nov 8, 2022. It is now read-only.

How start phpunit? #6

@hachreak

Description

@hachreak

Hi,
I have a problem with phpunit.
I downloaded the project and init with "composer install".
Then I started: "phpunit", but seems to have some problems. Can you help me? :D

vagrant@vagrant:/tmp/Slim-Middleware-master$ phpunit
PHPUnit 4.0.17 by Sebastian Bergmann.

You have installed PHPUnit via PEAR. This installation method is no longer
supported and http://pear.phpunit.de/ will be shut down no later than
December, 31 2014.

Please read http://phpunit.de/manual/current/en/installation.html and
learn how to use PHPUnit from a PHAR or install it via Composer.

Configuration read from /tmp/Slim-Middleware-master/phpunit.xml.dist

FF

Time: 43 ms, Memory: 3.75Mb

There were 2 failures:

  1. ContentNegotiationTest::testBestFormatIsSet
    Failed asserting that null is not null.

/tmp/Slim-Middleware-master/tests/ContentNegotiationTest.php:64

  1. ContentNegotiationTest::testBestFormatWithPriorities
    Failed asserting that null is not null.

/tmp/Slim-Middleware-master/tests/ContentNegotiationTest.php:82

FAILURES!
Tests: 2, Assertions: 2, Failures: 2.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions