diff --git a/Classes/Domain/Import/Converter/Organisation.php b/Classes/Domain/Import/Converter/Organisation.php index c04769c..acdc574 100644 --- a/Classes/Domain/Import/Converter/Organisation.php +++ b/Classes/Domain/Import/Converter/Organisation.php @@ -30,7 +30,7 @@ class Organisation implements Converter public function convert(array $jsonIdOfEntity): GenericEntity { return new GenericEntity( - 95, + 10, 'tx_thuecat_organisation', $jsonIdOfEntity['@id'], [ diff --git a/Classes/Domain/Import/Converter/TouristInformation.php b/Classes/Domain/Import/Converter/TouristInformation.php index 18c0cd4..c4e37ec 100644 --- a/Classes/Domain/Import/Converter/TouristInformation.php +++ b/Classes/Domain/Import/Converter/TouristInformation.php @@ -46,7 +46,7 @@ class TouristInformation implements Converter $town = $this->townRepository->findOneByRemoteIds($this->getContainedInPlaceIds($jsonIdOfEntity)); return new GenericEntity( - 95, + 10, 'tx_thuecat_tourist_information', $jsonIdOfEntity['@id'], [ diff --git a/Classes/Domain/Import/Converter/Town.php b/Classes/Domain/Import/Converter/Town.php index cf0d922..3b332f1 100644 --- a/Classes/Domain/Import/Converter/Town.php +++ b/Classes/Domain/Import/Converter/Town.php @@ -40,7 +40,7 @@ class Town implements Converter { $manager = $this->organisationRepository->findOneByRemoteId($jsonIdOfEntity['thuecat:managedBy']['@id']); return new GenericEntity( - 95, + 10, 'tx_thuecat_town', $jsonIdOfEntity['@id'], [ diff --git a/Tests/Unit/Domain/Import/Converter/OrganisationTest.php b/Tests/Unit/Domain/Import/Converter/OrganisationTest.php index d28d857..10c309c 100644 --- a/Tests/Unit/Domain/Import/Converter/OrganisationTest.php +++ b/Tests/Unit/Domain/Import/Converter/OrganisationTest.php @@ -80,7 +80,7 @@ class OrganisationTest extends TestCase ], ]); - self::assertSame(95, $entity->getTypo3StoragePid()); + self::assertSame(10, $entity->getTypo3StoragePid()); self::assertSame('tx_thuecat_organisation', $entity->getTypo3DatabaseTableName()); self::assertSame('https://example.com/resources/018132452787-ngbe', $entity->getRemoteId()); self::assertSame([ diff --git a/Tests/Unit/Domain/Import/Converter/TouristInformationTest.php b/Tests/Unit/Domain/Import/Converter/TouristInformationTest.php index 496f1e7..5e7d5ea 100644 --- a/Tests/Unit/Domain/Import/Converter/TouristInformationTest.php +++ b/Tests/Unit/Domain/Import/Converter/TouristInformationTest.php @@ -129,7 +129,7 @@ class TouristInformationTest extends TestCase ], ]); - self::assertSame(95, $entity->getTypo3StoragePid()); + self::assertSame(10, $entity->getTypo3StoragePid()); self::assertSame('tx_thuecat_tourist_information', $entity->getTypo3DatabaseTableName()); self::assertSame('https://example.com/resources/018132452787-ngbe', $entity->getRemoteId()); self::assertSame([ @@ -186,7 +186,7 @@ class TouristInformationTest extends TestCase ], ]); - self::assertSame(95, $entity->getTypo3StoragePid()); + self::assertSame(10, $entity->getTypo3StoragePid()); self::assertSame('tx_thuecat_tourist_information', $entity->getTypo3DatabaseTableName()); self::assertSame('https://example.com/resources/018132452787-ngbe', $entity->getRemoteId()); self::assertSame([ diff --git a/Tests/Unit/Domain/Import/Converter/TownTest.php b/Tests/Unit/Domain/Import/Converter/TownTest.php index b0d4be3..b19e8cf 100644 --- a/Tests/Unit/Domain/Import/Converter/TownTest.php +++ b/Tests/Unit/Domain/Import/Converter/TownTest.php @@ -95,7 +95,7 @@ class TownTest extends TestCase ], ]); - self::assertSame(95, $entity->getTypo3StoragePid()); + self::assertSame(10, $entity->getTypo3StoragePid()); self::assertSame('tx_thuecat_town', $entity->getTypo3DatabaseTableName()); self::assertSame('https://example.com/resources/018132452787-ngbe', $entity->getRemoteId()); self::assertSame([ @@ -129,7 +129,7 @@ class TownTest extends TestCase ], ]); - self::assertSame(95, $entity->getTypo3StoragePid()); + self::assertSame(10, $entity->getTypo3StoragePid()); self::assertSame('tx_thuecat_town', $entity->getTypo3DatabaseTableName()); self::assertSame('https://example.com/resources/018132452787-ngbe', $entity->getRemoteId()); self::assertSame([