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

How start phpunit? #6

Open
hachreak opened this issue Jul 12, 2014 · 0 comments
Open

How start phpunit? #6

hachreak opened this issue Jul 12, 2014 · 0 comments

Comments

@hachreak
Copy link

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant