From 6b96d396b735ef41aa83d31ed6f6cadd6a26b5de Mon Sep 17 00:00:00 2001 From: Vedant Koditkar Date: Mon, 1 Nov 2021 18:54:40 +0530 Subject: [PATCH] =?UTF-8?q?Update=20test=20cases=20=E2=9C=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Test/Notion.IntegrationTests/IBlocksClientTests.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Test/Notion.IntegrationTests/IBlocksClientTests.cs b/Test/Notion.IntegrationTests/IBlocksClientTests.cs index c4caee42..58297d42 100644 --- a/Test/Notion.IntegrationTests/IBlocksClientTests.cs +++ b/Test/Notion.IntegrationTests/IBlocksClientTests.cs @@ -17,7 +17,7 @@ public async Task AppendChildrenAsync_AppendsBlocksGivenBlocks() { AuthToken = Environment.GetEnvironmentVariable("NOTION_AUTH_TOKEN") }; - INotionClient _client = new NotionClient(options); + INotionClient _client = NotionClientFactory.Create(options); var pageId = "3c357473a28149a488c010d2b245a589"; var blocks = await _client.Blocks.AppendChildrenAsync( @@ -48,7 +48,7 @@ public async Task UpdateBlobkAsync_UpdatesGivenBlock() { AuthToken = Environment.GetEnvironmentVariable("NOTION_AUTH_TOKEN") }; - INotionClient _client = new NotionClient(options); + INotionClient _client = NotionClientFactory.Create(options); var pageId = "3c357473a28149a488c010d2b245a589"; var blocks = await _client.Blocks.AppendChildrenAsync(