Skip to content

Commit

Permalink
refactor (tests): ensure ci passes
Browse files Browse the repository at this point in the history
  • Loading branch information
c0nst4ntin committed Jan 2, 2025
1 parent f7879c6 commit 0040d92
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion tests/Prismic/ApiDataTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@ public function testWithJsonStringThrowsExceptionForInvalidJson()
ApiData::withJsonString('wtf?');
}

public function testApiDataWorksWithoutBookmarks(){
public function testApiDataWorksWithoutBookmarks()
{
$json = $this->getJsonFixture('data-without-bookmarks.json');
$data = ApiData::withJsonString($json);

Expand Down
3 changes: 2 additions & 1 deletion tests/Prismic/ApiTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,8 @@ public function testBookmarkReturnsCorrectDocumentId()
$this->assertNull($api->bookmark('unknown-bookmark'));
}

public function testApiWorksWithoutBookmarks() {
public function testApiWorksWithoutBookmarks()
{
// Create an ApiData object without bookmarks
$data = $this->getJsonFixture('data-without-bookmarks.json');
$apiData = ApiData::withJsonString($data);
Expand Down

0 comments on commit 0040d92

Please sign in to comment.