From ed686acb7d4d2ba726eb895ce17de8aa975a94d3 Mon Sep 17 00:00:00 2001 From: mhsdesign <85400359+mhsdesign@users.noreply.github.com> Date: Thu, 9 May 2024 20:29:40 +0200 Subject: [PATCH] TASK: Try to pass one `ContentGraphTableNames` instance along instead of magic strings in some places we still use the old and new way. --- Tests/Behavior/Features/Bootstrap/CrImportExportTrait.php | 8 -------- 1 file changed, 8 deletions(-) diff --git a/Tests/Behavior/Features/Bootstrap/CrImportExportTrait.php b/Tests/Behavior/Features/Bootstrap/CrImportExportTrait.php index 12a2152..2b1ce7f 100644 --- a/Tests/Behavior/Features/Bootstrap/CrImportExportTrait.php +++ b/Tests/Behavior/Features/Bootstrap/CrImportExportTrait.php @@ -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; @@ -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 - ); - } }