Skip to content

Commit 6b96d39

Browse files
Update test cases ✅
1 parent 1c1a1cb commit 6b96d39

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Test/Notion.IntegrationTests/IBlocksClientTests.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ public async Task AppendChildrenAsync_AppendsBlocksGivenBlocks()
1717
{
1818
AuthToken = Environment.GetEnvironmentVariable("NOTION_AUTH_TOKEN")
1919
};
20-
INotionClient _client = new NotionClient(options);
20+
INotionClient _client = NotionClientFactory.Create(options);
2121

2222
var pageId = "3c357473a28149a488c010d2b245a589";
2323
var blocks = await _client.Blocks.AppendChildrenAsync(
@@ -48,7 +48,7 @@ public async Task UpdateBlobkAsync_UpdatesGivenBlock()
4848
{
4949
AuthToken = Environment.GetEnvironmentVariable("NOTION_AUTH_TOKEN")
5050
};
51-
INotionClient _client = new NotionClient(options);
51+
INotionClient _client = NotionClientFactory.Create(options);
5252

5353
var pageId = "3c357473a28149a488c010d2b245a589";
5454
var blocks = await _client.Blocks.AppendChildrenAsync(

0 commit comments

Comments
 (0)