X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs-website;a=blobdiff_plain;f=web%2Fcore%2Fmodules%2Fmigrate%2Ftests%2Fsrc%2FUnit%2Fdestination%2FPerComponentEntityDisplayTest.php;fp=web%2Fcore%2Fmodules%2Fmigrate%2Ftests%2Fsrc%2FUnit%2Fdestination%2FPerComponentEntityDisplayTest.php;h=5c4a856c0b11f79c247847a964a1b1c9ec214725;hp=f450984d4889b0fc2d11d4b8001a94200cd5ba8d;hb=0bf8d09d2542548982e81a441b1f16e75873a04f;hpb=74df008bdbb3a11eeea356744f39b802369bda3c diff --git a/web/core/modules/migrate/tests/src/Unit/destination/PerComponentEntityDisplayTest.php b/web/core/modules/migrate/tests/src/Unit/destination/PerComponentEntityDisplayTest.php index f450984d4..5c4a856c0 100644 --- a/web/core/modules/migrate/tests/src/Unit/destination/PerComponentEntityDisplayTest.php +++ b/web/core/modules/migrate/tests/src/Unit/destination/PerComponentEntityDisplayTest.php @@ -53,13 +53,16 @@ class PerComponentEntityDisplayTest extends MigrateTestCase { class TestPerComponentEntityDisplay extends ComponentEntityDisplayBase { const MODE_NAME = 'view_mode'; protected $testValues; + public function __construct($entity) { $this->entity = $entity; } + protected function getEntity($entity_type, $bundle, $view_mode) { $this->testValues = func_get_args(); return $this->entity; } + public function getTestValues() { return $this->testValues; }