Skip to content

Commit

Permalink
Refactoring the tests
Browse files Browse the repository at this point in the history
  • Loading branch information
floriankraemer committed Jul 13, 2024
1 parent 571e39b commit e182a0e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
7 changes: 7 additions & 0 deletions tests/AbstractEventStoreTestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,14 @@
use Ramsey\Uuid\Uuid;

/**
* This class is thought to be used as a base class for testing all event stores.
*
* In the setUp method, the event store **must** be initialized.
*
* This class provides the following tests:
* - testReplyFromPositionZero
* - testReplyFromPositionGreaterThanZero
* - testReplyFromPositionWithAHigherPositionThanExisting
*/
abstract class AbstractEventStoreTestCase extends TestCase
{
Expand Down
2 changes: 0 additions & 2 deletions tests/PdoEventStoreTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,7 @@
use PDO;
use Phauthentic\EventStore\EventFactory;
use Phauthentic\EventStore\PdoEventStore;
use Phauthentic\EventStore\ReplyFromPositionQuery;
use Phauthentic\EventStore\Serializer\SerializeSerializer;
use Ramsey\Uuid\Uuid;

/**
*
Expand Down

0 comments on commit e182a0e

Please sign in to comment.