File tree Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Original file line number Diff line number Diff line change 4141 \Notion::comments ()->ofBlock ('cbf6b0af-6eaa-45ca-9715-9fa147ef6b17 ' )->list ();
4242});
4343
44-
4544it ('should fetch list of comments with an accurate representation of attributes ' , function () {
4645
4746 // successfull /v1/comments
7978 expect ($ json )->toBeJson ();
8079});
8180
82-
8381it ('should throw correct exception if comment access not allowed by api when creating a comment ' , function () {
8482 // not_found /v1/comments
8583 Http::fake ([
114112 \Notion::comments ()->onDiscussion ('141216d8-bbc5-4c24-9d37-3c45d3bc15cc ' )->create (Comment::create ('Hello world ' ));
115113});
116114
117- it ('successfully creates a comment within a page ' , function () {
115+ it ('successfully creates a comment within a page ' , function () {
118116
119117 // successfull (post) /v1/comments
120118 Http::fake ([
140138 expect ($ comment ->getParentType ())->toBe ('page_id ' );
141139 expect ($ comment ->getDiscussionId ())->toBe ('f1407351-36f5-4c49-a13c-49f8ba11776d ' );
142140});
143-
144-
You can’t perform that action at this time.
0 commit comments