Skip to content

Commit f097a52

Browse files
committed
Merge branch 'feature/compound-filters' of https://github.com/5am-code/laravel-notion-api into feature/compound-filters
2 parents 578b36c + fd73d83 commit f097a52

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

tests/EndpointDatabaseTest.php

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@
2525
* @see https://www.notion.so/8284f3ff77e24d4a939d19459e4d6bdc?v=bc3a9ce8cdb84d3faefc9ae490136ac2
2626
* @see https://developers.notion.com/reference/post-database-query
2727
*/
28-
2928
it('returns a database endpoint instance', function () {
3029

3130
// TODO update for new Filter behaviour
@@ -121,7 +120,6 @@
121120
$this->assertCount(0, $resultCollection);
122121
});
123122

124-
125123
it('throws a notion exception for a bad request', function () {
126124

127125
// failing /v1/databases
@@ -139,9 +137,8 @@
139137
Notion::database('8284f3ff77e24d4a939d19459e4d6bdc')->query();
140138
});
141139

142-
143140
it('queries a database with and without offset and processes result', function () {
144-
// success /v1/databases/DATABASE_DOES_EXIST/query
141+
// success /v1/databases/DATABASE_DOES_EXIST/query
145142
Http::fake([
146143
'https://api.notion.com/v1/databases/8284f3ff77e24d4a939d19459e4d6bdc/query*' => Http::sequence()
147144
->push(
@@ -218,4 +215,3 @@
218215
$page = $resultCollection->first();
219216
$this->assertEquals(0, $page->getProperty('Rollup')->getContent()->count());
220217
});
221-

0 commit comments

Comments
 (0)