Code Duplication    Length = 8-8 lines in 3 locations

lib/custom/tests/MShop/Customer/Manager/Lists/Type/LaravelTest.php 1 location

@@ 16-23 (lines=8) @@
13
	private $editor = 'ai-laravel:unittest';
14
15
16
	protected function setUp()
17
	{
18
		$this->editor = \TestHelper::getContext()->getEditor();
19
		$manager = \Aimeos\MShop\Customer\Manager\Factory::createManager( \TestHelper::getContext(), 'Laravel' );
20
21
		$listManager = $manager->getSubManager( 'lists', 'Laravel' );
22
		$this->object = $listManager->getSubManager( 'type', 'Laravel' );
23
	}
24
25
26
	protected function tearDown()

lib/custom/tests/MShop/Customer/Manager/Property/LaravelTest.php 1 location

@@ 18-25 (lines=8) @@
15
	private $editor = '';
16
17
18
	protected function setUp()
19
	{
20
		$context = \TestHelper::getContext();
21
		$this->editor = $context->getEditor();
22
23
		$manager = \Aimeos\MShop\Customer\Manager\Factory::createManager( $context, 'Laravel' );
24
		$this->object = $manager->getSubManager( 'property', 'Laravel' );
25
	}
26
27
28
	protected function tearDown()

lib/custom/tests/MShop/Customer/Manager/Property/Type/LaravelTest.php 1 location

@@ 18-25 (lines=8) @@
15
	private $editor = '';
16
17
18
	protected function setUp()
19
	{
20
		$context = \TestHelper::getContext();
21
		$this->editor = $context->getEditor();
22
23
		$manager = \Aimeos\MShop\Customer\Manager\Factory::createManager( $context, 'Laravel' );
24
		$this->object = $manager->getSubManager( 'property', 'Laravel' )->getSubManager( 'type', 'Laravel' );
25
	}
26
27
28
	protected function tearDown()