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
Complete executable reproducer if available (e.g. GitHub Repo): -
Steps to reproduce
Create aggregate with constructor command handler
Create AggregateTestFixture and execute givenCommands and when on it with the same creational command
The test succeeds, and there is a second event published at index 0
Expected behaviour
The AggregateTestFixture should detect a constructor command handler being called for the second time, or being able to validate the unqqueness of the aggregate through validating the event indexes.
Actual behaviour
The test passes, allowing two events with index 0.
The text was updated successfully, but these errors were encountered:
Are you sure it's appending two events, or is it the consistency check that's kicking in an applying event 0 to a fresh instance of the aggregate to ensure it doesn't have any "illegal state changes"?
Basic information
Steps to reproduce
givenCommands
andwhen
on it with the same creational commandExpected behaviour
The AggregateTestFixture should detect a constructor command handler being called for the second time, or being able to validate the unqqueness of the aggregate through validating the event indexes.
Actual behaviour
The test passes, allowing two events with index 0.
The text was updated successfully, but these errors were encountered: