Skip to content

Commit e873158

Browse files
Fix failing tests (#105)
1 parent 72c74b2 commit e873158

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/Jobs/ImportItemJobTest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -567,7 +567,7 @@ public function it_updates_an_existing_term()
567567
'Foo' => 'Baz',
568568
]);
569569

570-
$term->fresh();
570+
$term = $term->fresh();
571571

572572
$this->assertNotNull($term);
573573
$this->assertEquals('statamic', $term->slug());
@@ -603,7 +603,7 @@ public function it_updates_an_existing_term_in_a_multisite_with_the_same_slug()
603603
'Foo' => 'Baz',
604604
]);
605605

606-
$term->fresh();
606+
$term = $term->fresh();
607607

608608
// The importer is updating the French localization of the term, so the English
609609
// localization should stay the same.
@@ -650,7 +650,7 @@ public function it_updates_an_existing_term_in_a_multisite_with_the_default_slug
650650
'Foo' => 'Baz',
651651
]);
652652

653-
$term->fresh();
653+
$term = $term->fresh();
654654

655655
// The importer is updating the French localization of the term, so the English
656656
// localization should stay the same.

0 commit comments

Comments
 (0)