Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 02b5af7

Browse files
Apply fixes from StyleCI (#131)
1 parent fb94f87 commit 02b5af7

File tree

5 files changed

+2
-7
lines changed

5 files changed

+2
-7
lines changed

‎tests/EndpointBlocksTest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -314,6 +314,7 @@ public function classProvider(): array
314314

315315
/**
316316
* @test
317+
*
317318
* @dataProvider classProvider
318319
*
319320
* @param $entityClass

‎tests/EndpointCommentsTest.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@
4242
});
4343

4444
it('should fetch list of comments with an accurate representation of attributes', function () {
45-
4645
// successfull /v1/comments
4746
Http::fake([
4847
'https://api.notion.com/v1/comments?block_id=abf6b0af-6eaa-45ca-9715-9fa147ef6b17*' => Http::response(
@@ -114,7 +113,6 @@
114113
});
115114

116115
it('successfully creates a comment within a page', function () {
117-
118116
// successfull (post) /v1/comments
119117
Http::fake([
120118
'https://api.notion.com/v1/comments*' => Http::response(

‎tests/EndpointDatabaseTest.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,7 @@
2929
* @see https://developers.notion.com/reference/post-database-query
3030
*/
3131
it('returns a database endpoint instance', function () {
32-
33-
// TODO update for new Filter behaviour
32+
// TODO update for new Filter behaviour
3433
$endpoint = Notion::database('897e5a76ae524b489fdfe71f5945d1af');
3534

3635
$this->assertInstanceOf(Database::class, $endpoint);
@@ -136,7 +135,6 @@
136135
});
137136

138137
it('throws a notion exception for a bad request', function () {
139-
140138
// failing /v1/databases
141139
Http::fake([
142140
'https://api.notion.com/v1/databases/8284f3ff77e24d4a939d19459e4d6bdc/query*' => Http::response(

‎tests/EndpointPagesTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,6 @@ public function it_throws_a_notion_exception_not_found()
107107
/** @test */
108108
public function it_assembles_properties_for_a_new_page()
109109
{
110-
111110
// test values
112111
$pageId = '0349b883a1c64539b435289ea62b6eab';
113112
$pageTitle = 'I was updated from Tinkerwell';

‎tests/FilterBagTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,6 @@
128128
});
129129

130130
it('creates a filter bag with with the AND operator and a nested OR condition', function () {
131-
132131
// Filter for all entries that are
133132
// (KnownFor == Univac && (Name == Grace || Name == Jean))
134133

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /