File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Test/Notion.IntegrationTests Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -53,7 +53,7 @@ public async Task CreateAsync_CreatesANewPage()
53
53
. DatabaseId . Should ( ) . Be ( _databaseId ) ;
54
54
55
55
page . Properties . Should ( ) . ContainKey ( "Name" ) ;
56
- var pageProperty = page . Properties [ "Name" ] . Should ( ) . BeOfType < PagePropertyOnId > ( ) . Subject ;
56
+ var pageProperty = page . Properties [ "Name" ] . Should ( ) . BeOfType < PropertyValue > ( ) . Subject ;
57
57
58
58
var titleProperty = ( ListPropertyItem ) await _client . Pages . RetrievePagePropertyItem ( new RetrievePropertyItemParameters
59
59
{
@@ -105,7 +105,7 @@ public async Task Bug_unable_to_create_page_with_select_property()
105
105
. DatabaseId . Should ( ) . Be ( _databaseId ) ;
106
106
107
107
page . Properties . Should ( ) . ContainKey ( "Name" ) ;
108
- var pageProperty = page . Properties [ "Name" ] . Should ( ) . BeOfType < PagePropertyOnId > ( ) . Subject ;
108
+ var pageProperty = page . Properties [ "Name" ] . Should ( ) . BeOfType < PropertyValue > ( ) . Subject ;
109
109
110
110
var titleProperty = ( ListPropertyItem ) await _client . Pages . RetrievePagePropertyItem ( new RetrievePropertyItemParameters
111
111
{
You can’t perform that action at this time.
0 commit comments