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 1eb0428

Browse files
Merge pull request #321 from notion-dotnet/319-fix-broken-integration-tests
fix broken integration tests
2 parents 22a79cf + bd5054d commit 1eb0428

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎Test/Notion.IntegrationTests/IPageClientTests.cs‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ public async Task CreateAsync_CreatesANewPage()
5353
.DatabaseId.Should().Be(_databaseId);
5454

5555
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;
5757

5858
var titleProperty = (ListPropertyItem)await _client.Pages.RetrievePagePropertyItem(new RetrievePropertyItemParameters
5959
{
@@ -105,7 +105,7 @@ public async Task Bug_unable_to_create_page_with_select_property()
105105
.DatabaseId.Should().Be(_databaseId);
106106

107107
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;
109109

110110
var titleProperty = (ListPropertyItem)await _client.Pages.RetrievePagePropertyItem(new RetrievePropertyItemParameters
111111
{

0 commit comments

Comments
(0)

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