Skip to content

Commit

Permalink
Merge pull request #13 from neos/bugfix/fix-integration-test
Browse files Browse the repository at this point in the history
!!! TASK: Remove CheckpointStorage implementation
  • Loading branch information
bwaidelich authored Jan 12, 2024
2 parents 5e1ccaf + 20c0c37 commit 46d74af
Show file tree
Hide file tree
Showing 6 changed files with 2 additions and 273 deletions.
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@
Database Adapter implementation for the [neos/eventstore](https://github.com/neos/eventstore) package.

> **Note**
> Currently this package supports MySQL (including MariaDB) and PostgreSQL
> The `DoctrineEventStore` can be used with SQLite, too. But that platform is not yet supported for the `DoctrineCheckpointStorage`
> Currently this package supports MySQL (including MariaDB), PostgreSQL and SQLite.
## Usage

Expand Down
2 changes: 0 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,10 @@
"test:phpstan": "phpstan",
"test:cs": "phpcs --colors src",
"test:cs:fix": "phpcbf --colors src",
"test:unit": "phpunit tests/Unit",
"test:integration": "phpunit tests/Integration",
"test": [
"@test:phpstan",
"@test:cs",
"@test:unit",
"@test:integration"
]
}
Expand Down
117 changes: 0 additions & 117 deletions src/DoctrineCheckpointStorage.php

This file was deleted.

53 changes: 0 additions & 53 deletions tests/Integration/DoctrineCheckpointStorageTest.php

This file was deleted.

2 changes: 1 addition & 1 deletion tests/Integration/DoctrineEventStoreTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ public function test_status_returns_setup_required_status_if_event_table_require
$connection = self::connection();
$eventStore = new DoctrineEventStore($connection, self::eventTableName());
$eventStore->setup();
$connection->executeStatement('ALTER TABLE ' . $connection->quote(self::eventTableName()) . ' RENAME COLUMN metadata TO metadata_renamed');
$connection->executeStatement('ALTER TABLE ' . self::eventTableName() . ' RENAME COLUMN metadata TO metadata_renamed');
self::assertSame($eventStore->status()->type, StatusType::SETUP_REQUIRED);
}

Expand Down
98 changes: 0 additions & 98 deletions tests/Unit/DoctrineCheckpointStorageTest.php

This file was deleted.

0 comments on commit 46d74af

Please sign in to comment.