File tree Expand file tree Collapse file tree 2 files changed +7
-6
lines changed
Expand file tree Collapse file tree 2 files changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -2,9 +2,10 @@ package notionapi_test
22
33import (
44 "context"
5- "github.com/jomei/notionapi"
65 "net/http"
76 "testing"
7+
8+ "github.com/jomei/notionapi"
89)
910
1011func TestSearchClient (t * testing.T ) {
Original file line number Diff line number Diff line change 1515 "id" : " some_id"
1616 },
1717 "parent" : {
18- "type" : " database_id " ,
19- "database_id " : " some_id"
18+ "type" : " data_source_id " ,
19+ "data_source_id " : " some_id"
2020 },
2121 "archived" : false ,
2222 "properties" : {
6161 }
6262 },
6363 {
64- "object" : " database " ,
64+ "object" : " data_source " ,
6565 "id" : " some_id" ,
6666 "created_time" : " 2021-05-24T05:06:34.827Z" ,
6767 "last_edited_time" : " 2021-05-24T05:06:34.827Z" ,
6868 "title" : [
6969 {
7070 "type" : " text" ,
7171 "text" : {
72- "content" : " Test Database " ,
72+ "content" : " Test Data Source " ,
7373 "link" : null
7474 },
7575 "annotations" : {
8080 "code" : false ,
8181 "color" : " default"
8282 },
83- "plain_text" : " Test Database " ,
83+ "plain_text" : " Test Data Source " ,
8484 "href" : null
8585 }
8686 ],
You can’t perform that action at this time.
0 commit comments