Skip to content

Commit

Permalink
MNT Update test to reflect changes to template/model layers (#1260)
Browse files Browse the repository at this point in the history
  • Loading branch information
GuySartorelli authored Oct 30, 2024
1 parent 5fa5743 commit eadd5ad
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/ElementalAreaTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,8 @@ public function testGetOwnerPage()
// OwnerClassName set
$ownerpage2 = $area2->getOwnerPage();

$this->assertEquals("DNADesign\Elemental\Tests\Src\TestPage", $ownerpage1);
$this->assertEquals("DNADesign\Elemental\Tests\Src\TestPage", $ownerpage2);
$this->assertInstanceOf(TestPage::class, $ownerpage1);
$this->assertInstanceOf(TestPage::class, $ownerpage2);

// if ownerpage1 has draft changes then getOwnerPage() should return the
// live version of the owner page, since the draft record will be
Expand Down

0 comments on commit eadd5ad

Please sign in to comment.