From 764f570c86f3e84f4f8ffa90ff8f2ebb1176269f Mon Sep 17 00:00:00 2001 From: leogermani Date: Tue, 16 Apr 2019 16:33:28 -0300 Subject: [PATCH] fix test importer --- src/importer/class-tainacan-test-importer.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/importer/class-tainacan-test-importer.php b/src/importer/class-tainacan-test-importer.php index ca4abd9dc..28f265c1d 100644 --- a/src/importer/class-tainacan-test-importer.php +++ b/src/importer/class-tainacan-test-importer.php @@ -509,7 +509,8 @@ class Test_Importer extends Importer { 'type' => 'Tainacan\Metadata_Types\Relationship', 'options' => [ 'collection_id' => $col2->get_id(), - 'repeated' => 'yes' + 'repeated' => 'yes', + 'search' => [ $col2_core_title->get_id() ] ] ], $col1 );