Skip to content

Commit

Permalink
ids have changed in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanmitchell committed May 10, 2024
1 parent 8ff6044 commit 0d39b65
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions tests/Data/Entries/EntryQueryBuilderTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -687,15 +687,15 @@ public function entries_are_found_using_where_has_when_max_items_1()

$this->createDummyCollectionAndEntries();

Entry::find(1)
Entry::find('id-1')
->merge([
'entries_field' => 2,
'entries_field' => 'id-2',
])
->save();

Entry::find(3)
Entry::find('id-3')
->merge([
'entries_field' => 1,
'entries_field' => 'id-1',
])
->save();

Expand Down Expand Up @@ -729,15 +729,15 @@ public function entries_are_found_using_where_has_when_max_items_not_1()

$this->createDummyCollectionAndEntries();

Entry::find(1)
Entry::find('id-1')
->merge([
'entries_field' => [2, 1],
'entries_field' => ['id-2', 'id-1'],
])
->save();

Entry::find(3)
Entry::find('id-3')
->merge([
'entries_field' => [1, 2],
'entries_field' => ['id-1', 'id-2'],
])
->save();

Expand Down Expand Up @@ -771,15 +771,15 @@ public function entries_are_found_using_where_relation()

$this->createDummyCollectionAndEntries();

Entry::find(1)
Entry::find('id-1')
->merge([
'entries_field' => [2, 1],
'entries_field' => ['id-2', 'id-1'],
])
->save();

Entry::find(3)
Entry::find('id-3')
->merge([
'entries_field' => [1, 2],
'entries_field' => ['id-1', 'id-2'],
])
->save();

Expand Down

0 comments on commit 0d39b65

Please sign in to comment.