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 2525 * @see https://www.notion.so/8284f3ff77e24d4a939d19459e4d6bdc?v=bc3a9ce8cdb84d3faefc9ae490136ac2
2626 * @see https://developers.notion.com/reference/post-database-query
2727 */
28-
2928it ('returns a database endpoint instance ' , function () {
3029
3130// TODO update for new Filter behaviour
121120 $ this ->assertCount (0 , $ resultCollection );
122121});
123122
124-
125123it ('throws a notion exception for a bad request ' , function () {
126124
127125 // failing /v1/databases
139137 Notion::database ('8284f3ff77e24d4a939d19459e4d6bdc ' )->query ();
140138});
141139
142-
143140it ('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 (
218215 $ page = $ resultCollection ->first ();
219216 $ this ->assertEquals (0 , $ page ->getProperty ('Rollup ' )->getContent ()->count ());
220217});
221-
You can’t perform that action at this time.
0 commit comments