Skip to content

Instantly share code, notes, and snippets.

@tuupola
Created March 11, 2017 11:27
Show Gist options
  • Save tuupola/5992c962f07068c4f4e3333c29d986fa to your computer and use it in GitHub Desktop.
Save tuupola/5992c962f07068c4f4e3333c29d986fa to your computer and use it in GitHub Desktop.
$ vendor/bin/phpunit --testsuite=Slim
PHPUnit 5.7.15 by Sebastian Bergmann and contributors.
.F.F.............................F...................F.... 58 / 58 (100%)
Time: 1.65 seconds, Memory: 6.00MB
There were 4 failures:
1) Http\Psr7Test\Tests\Slim\RequestTest::testMethod
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
-'head'
+'HEAD'
/Users/tuupola/Code/php/psr7-integration-tests/src/RequestIntegrationTest.php:70
2) Http\Psr7Test\Tests\Slim\RequestTest::testUriPreserveHost_NoHost_Host
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
-'www.foo.com'
+'foo.com'
/Users/tuupola/Code/php/psr7-integration-tests/src/RequestIntegrationTest.php:104
3) Http\Psr7Test\Tests\Slim\StreamTest::testToStringReadOnlyStreams
You MUST be able to convert a read only stream to string
Failed asserting that false is true.
/Users/tuupola/Code/php/psr7-integration-tests/src/StreamIntegrationTest.php:38
4) Http\Psr7Test\Tests\Slim\UriTest::testHost
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
-'foobar.com'
+'FOOBAR.COM'
/Users/tuupola/Code/php/psr7-integration-tests/src/UriIntegrationTest.php:97
FAILURES!
Tests: 58, Assertions: 125, Failures: 4.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment