From 0040d924631095cf40c0082f1b5f9298cc7b0604 Mon Sep 17 00:00:00 2001 From: Constantin Ross Date: Thu, 2 Jan 2025 16:17:52 +0100 Subject: [PATCH] refactor (tests): ensure ci passes --- tests/Prismic/ApiDataTest.php | 3 ++- tests/Prismic/ApiTest.php | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/tests/Prismic/ApiDataTest.php b/tests/Prismic/ApiDataTest.php index 38ae2de9..8ad394d5 100644 --- a/tests/Prismic/ApiDataTest.php +++ b/tests/Prismic/ApiDataTest.php @@ -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); diff --git a/tests/Prismic/ApiTest.php b/tests/Prismic/ApiTest.php index fd0a4861..d7285751 100755 --- a/tests/Prismic/ApiTest.php +++ b/tests/Prismic/ApiTest.php @@ -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);