Skip to content

Commit

Permalink
Update test cases ✅
Browse files Browse the repository at this point in the history
  • Loading branch information
KoditkarVedant committed Nov 1, 2021
1 parent 1c1a1cb commit 6b96d39
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Test/Notion.IntegrationTests/IBlocksClientTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down Expand Up @@ -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(
Expand Down

0 comments on commit 6b96d39

Please sign in to comment.