Skip to content

Commit 769168a

Browse files
authored
Apply fixes from StyleCI (#112)
1 parent dc735ce commit 769168a

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

tests/EndpointCommentsTest.php

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@
4141
\Notion::comments()->ofBlock('cbf6b0af-6eaa-45ca-9715-9fa147ef6b17')->list();
4242
});
4343

44-
4544
it('should fetch list of comments with an accurate representation of attributes', function () {
4645

4746
// successfull /v1/comments
@@ -79,7 +78,6 @@
7978
expect($json)->toBeJson();
8079
});
8180

82-
8381
it('should throw correct exception if comment access not allowed by api when creating a comment', function () {
8482
// not_found /v1/comments
8583
Http::fake([
@@ -114,7 +112,7 @@
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([
@@ -140,5 +138,3 @@
140138
expect($comment->getParentType())->toBe('page_id');
141139
expect($comment->getDiscussionId())->toBe('f1407351-36f5-4c49-a13c-49f8ba11776d');
142140
});
143-
144-

0 commit comments

Comments
 (0)