File tree Expand file tree Collapse file tree 2 files changed +2
-0
lines changed
Expand file tree Collapse file tree 2 files changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -343,6 +343,7 @@ public function it_retrieves_a_single_block()
343343 $ this ->assertEquals ('a6f8ebe8-d5df-4ffa-b543-bcd54d1c3bad ' , $ block ->getId ());
344344 $ this ->assertEquals ('paragraph ' , $ block ->getType ());
345345 $ this ->assertEquals ('This is a paragraph test ' , $ block ->getContent ()->getPlainText ());
346+ $ this ->assertEquals ('block ' , $ block ->getObjectType ());
346347
347348 $ this ->assertEquals ('page_id ' , $ block ->getParentType ());
348349 $ this ->assertEquals ('f2939732-f694-4ce2-b613-f28db6ded673 ' , $ block ->getParentId ());
Original file line number Diff line number Diff line change @@ -80,6 +80,7 @@ public function it_returns_a_specific_user_as_entity_object()
8080
8181 $ this ->assertInstanceOf (User::class, $ user );
8282 $ this ->assertEquals ('Avocado Lovelace ' , $ user ->getName ());
83+ $ this ->assertEquals ('user ' , $ user ->getObjectType ());
8384 $ this ->assertEquals ('https://secure.notion-static.com/e6a352a8-8381-44d0-a1dc-9ed80e62b53d.jpg ' , $ user ->getAvatarUrl ());
8485 }
8586
You can’t perform that action at this time.
0 commit comments