Skip to content

Commit 32a7165

Browse files
Update test cases to use notion client factory ✅
1 parent e909426 commit 32a7165

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Test/Notion.IntegrationTests/IPageClientTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ public async Task Bug_unable_to_create_page_with_select_property()
6363
AuthToken = Environment.GetEnvironmentVariable("NOTION_AUTH_TOKEN")
6464
};
6565

66-
INotionClient _client = new NotionClient(options);
66+
INotionClient _client = NotionClientFactory.Create(options);
6767

6868
PagesCreateParameters pagesCreateParameters = PagesCreateParametersBuilder.Create(new DatabaseParentInput
6969
{

0 commit comments

Comments
 (0)