Skip to content

Commit

Permalink
Expect source path to be index instead of schema.json
Browse files Browse the repository at this point in the history
  • Loading branch information
caendesilva committed Jan 6, 2023
1 parent 3c7c8fa commit d43963e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/framework/tests/Feature/PageCollectionTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ public function test_listing_pages_for_publications_are_discovered()

$this->assertInstanceOf(
PublicationListPage::class,
PageCollection::boot(Hyde::getInstance())->getPage('publication/schema.json')
PageCollection::boot(Hyde::getInstance())->getPage('publication/index')
);

File::deleteDirectory(Hyde::path('publication'));
Expand Down

0 comments on commit d43963e

Please sign in to comment.