You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm not sure why some tests fail with Docker. It looks like a filesystem timestamp issue. If you have Docker and the Composer dependencies installed then run the following command from the root of the repository:
$ docker run --rm -it --volume $(pwd):/app prooph/php:5.6-cli php vendor/bin/phpunit
This gives the following output;
PHPUnit 5.2.12 by Sebastian Bergmann and contributors.
.......FFF 10 / 10 (100%)
Time: 110 ms, Memory: 4.75Mb
There were 3 failures:
1) ProophTest\EventStore\Adapter\Flywheel\FlywheelEventStoreAdapterTest::it_replays
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
-'ProophTest\EventStore\Mock\UserCreated'
+'ProophTest\EventStore\Mock\UsernameChanged'
/app/tests/FlywheelEventStoreAdapterTest.php:174
2) ProophTest\EventStore\Adapter\Flywheel\FlywheelEventStoreAdapterTest::it_replays_from_specific_date
Failed asserting that actual size 3 matches expected size 2.
/app/tests/FlywheelEventStoreAdapterTest.php:202
3) ProophTest\EventStore\Adapter\Flywheel\FlywheelEventStoreAdapterTest::it_replays_events_of_two_aggregates_in_a_single_stream_in_correct_order
Failed asserting that two arrays are equal.
--- Expected
+++ Actual
@@ @@
Array (
0 => Array (
- 'name' =>'Max Mustermann'
- 'email' =>'contact@prooph.de'
+ 'name' =>'John Doe'
)
1 => Array (
- 'name' =>'John Doe'
+ 'name' =>'Jane Doe'
+ 'email' =>'jane@acme.com'
)
2 => Array (
- 'name' =>'Jane Doe'
- 'email' =>'jane@acme.com'
+ 'name' =>'Max Mustermann'
+ 'email' =>'contact@prooph.de'
)
)
/app/tests/FlywheelEventStoreAdapterTest.php:238
FAILURES!
Tests: 10, Assertions: 22, Failures: 3.
The text was updated successfully, but these errors were encountered:
I'm not sure why some tests fail with Docker. It looks like a filesystem timestamp issue. If you have Docker and the Composer dependencies installed then run the following command from the root of the repository:
$ docker run --rm -it --volume $(pwd):/app prooph/php:5.6-cli php vendor/bin/phpunit
This gives the following output;
The text was updated successfully, but these errors were encountered: