Skip to content

Commit

Permalink
TASK: Try to pass one ContentGraphTableNames instance along instead…
Browse files Browse the repository at this point in the history
… of magic strings

in some places we still use the old and new way.
  • Loading branch information
mhsdesign committed May 9, 2024
1 parent 49a5a15 commit ed686ac
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions Tests/Behavior/Features/Bootstrap/CrImportExportTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
use Behat\Gherkin\Node\TableNode;
use League\Flysystem\Filesystem;
use League\Flysystem\InMemory\InMemoryFilesystemAdapter;
use Neos\ContentGraph\DoctrineDbalAdapter\DoctrineDbalContentGraphProjectionFactory;
use Neos\ContentRepository\Core\Factory\ContentRepositoryServiceFactoryDependencies;
use Neos\ContentRepository\Core\Factory\ContentRepositoryServiceFactoryInterface;
use Neos\ContentRepository\Core\SharedModel\Workspace\ContentStreamId;
Expand Down Expand Up @@ -206,11 +205,4 @@ public function iExpectAMigrationErrorWithTheMessage(PyStringNode $expectedMessa
* @return T
*/
abstract private function getObject(string $className): object;

protected function getTableNamePrefix(): string
{
return DoctrineDbalContentGraphProjectionFactory::graphProjectionTableNamePrefix(
$this->currentContentRepository->id
);
}
}

0 comments on commit ed686ac

Please sign in to comment.