Skip to content

Instantly share code, notes, and snippets.

@cspray
Created February 9, 2019 17:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cspray/30d686d8558041b4edb7e69b1558e045 to your computer and use it in GitHub Desktop.
Save cspray/30d686d8558041b4edb7e69b1558e045 to your computer and use it in GitHub Desktop.
PHPUnit 6.5.14 by Sebastian Bergmann and contributors.
E.F 3 / 3 (100%)
Time: 132 ms, Memory: 4.00MB
There was 1 error:
1) Amp\PHPUnit\Test\AsyncTestCaseTest::testThatMethodRunsInLoopContext
Error: Loop exceptionally stopped without resolving the promise
/home/cspray/Projects/personal-oss/phpunit-util/vendor/amphp/amp/lib/functions.php:172
/home/cspray/Projects/personal-oss/phpunit-util/src/AsyncTestCase.php:28
Caused by
PHPUnit\Framework\ExpectationFailedException: Expected the data to be what was resolved in Loop::defer
Failed asserting that two strings are equal.
/home/cspray/Projects/personal-oss/phpunit-util/test/AsyncTestCaseTest.php:17
/home/cspray/Projects/personal-oss/phpunit-util/vendor/amphp/amp/lib/Internal/Placeholder.php:130
/home/cspray/Projects/personal-oss/phpunit-util/vendor/amphp/amp/lib/Deferred.php:45
/home/cspray/Projects/personal-oss/phpunit-util/test/AsyncTestCaseTest.php:21
/home/cspray/Projects/personal-oss/phpunit-util/vendor/amphp/amp/lib/Loop/Driver.php:116
/home/cspray/Projects/personal-oss/phpunit-util/vendor/amphp/amp/lib/Loop/Driver.php:72
/home/cspray/Projects/personal-oss/phpunit-util/vendor/amphp/amp/lib/Loop.php:84
/home/cspray/Projects/personal-oss/phpunit-util/vendor/amphp/amp/lib/functions.php:170
/home/cspray/Projects/personal-oss/phpunit-util/src/AsyncTestCase.php:28
--
There was 1 failure:
1) Amp\PHPUnit\Test\AsyncTestCaseTest::testExpectingAnExceptionThrown
Failed asserting that exception message 'threw the error' contains 'threw the eror'.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment