Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
eronisko committed Mar 14, 2024
1 parent 210736f commit 5fccf17
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions tests/Feature/Api/V1/ItemsAggregationsTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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();

Expand Down
2 changes: 1 addition & 1 deletion tests/Feature/Api/V2/ItemsTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 5fccf17

Please sign in to comment.