Skip to content
This repository has been archived by the owner on Aug 26, 2024. It is now read-only.

experimenting and investigating how to work with bootstrapFlowTesting and repositories

Notifications You must be signed in to change notification settings

tandev/ecotone-testing-with-repositories

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

⚠️ Archived, due to the issue probably being more of an issue regarding the Aggregate design

❯ vendor/bin/phpunit
There was 1 error:

1) tests\CreateFooTest::test_using_custom_repository
Ecotone\Messaging\Support\InvalidArgumentException: There is no repository available for aggregate: App\FooAggregate.
This happens because are multiple Repositories of given type registered, therefore each Repository need to specify which aggregate it can handle.
If this fails during Ecotone Lite tests, consider turning off default In Memory implementations.

--

There was 1 failure:

1) tests\CreateFooTest::test_using_default_repository
Failed asserting that an array is not empty.

ecotone-testing-with-repositories/tests/CreateFooTest.php:44

--

There was 1 risky test:

1) tests\CreateFooTest::test_unit
This test did not perform any assertions

ecotone-testing-with-repositories/tests/CreateFooTest.php:13

ERRORS!
Tests: 3, Assertions: 1, Errors: 1, Failures: 1, Risky: 1.

About

experimenting and investigating how to work with bootstrapFlowTesting and repositories

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages