Skip to content

Commit

Permalink
MNT Update test to reflect changes to template/model layers
Browse files Browse the repository at this point in the history
  • Loading branch information
GuySartorelli committed Oct 14, 2024
1 parent bb68146 commit ad9f36b
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 ad9f36b

Please sign in to comment.