diff --git a/tests/Feature/Api/V1/ItemsAggregationsTest.php b/tests/Feature/Api/V1/ItemsAggregationsTest.php index 26e322af3..c3bd4267d 100644 --- a/tests/Feature/Api/V1/ItemsAggregationsTest.php +++ b/tests/Feature/Api/V1/ItemsAggregationsTest.php @@ -140,6 +140,8 @@ public function test_search_for_authors_with_same_name() $this->item1->authorities()->save($author1); $this->item2->authorities()->save($author2); + $this->item2->author = 'Wouwerman, Philips; Galanda, Mikuláš'; + $this->item2->save(); app(ItemRepository::class)->refreshIndex(); diff --git a/tests/Feature/Api/V2/ItemsTest.php b/tests/Feature/Api/V2/ItemsTest.php index c82abbb83..8530556ff 100644 --- a/tests/Feature/Api/V2/ItemsTest.php +++ b/tests/Feature/Api/V2/ItemsTest.php @@ -20,7 +20,7 @@ public function test_detail() $item = Item::factory()->create([ 'id' => 'test_id', 'title' => 'test_title', - 'author' => 'Věšín, Jaroslav', + 'author' => 'Wouwerman, Philips; Věšín, Jaroslav', 'dating' => 2000, 'date_earliest' => 2000, 'date_latest' => 2010,