Skip to content

Commit 4ecab19

Browse files
fix breaking test cases ✅
1 parent f9ddfff commit 4ecab19

File tree

5 files changed

+10
-10
lines changed

5 files changed

+10
-10
lines changed

Test/Notion.UnitTests/FilterTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ public void RichTextFilterTest()
126126
{
127127
var filter = new RichTextFilter("Some property", doesNotEqual: "Example text");
128128
Assert.Equal(
129-
"{\"text\":{\"does_not_equal\":\"Example text\"},\"property\":\"Some property\"}",
129+
"{\"rich_text\":{\"does_not_equal\":\"Example text\"},\"property\":\"Some property\"}",
130130
SerializeFilter(filter)
131131
);
132132
}

Test/Notion.UnitTests/data/blocks/AppendBlockChildrenResponse.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"has_children": false,
1010
"type": "heading_2",
1111
"heading_2": {
12-
"text": [
12+
"rich_text": [
1313
{
1414
"type": "text",
1515
"text": {
@@ -38,7 +38,7 @@
3838
"has_children": false,
3939
"type": "paragraph",
4040
"paragraph": {
41-
"text": [
41+
"rich_text": [
4242
{
4343
"type": "text",
4444
"text": {

Test/Notion.UnitTests/data/blocks/RetrieveBlockChildrenResponse.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"archived": false,
1111
"type": "paragraph",
1212
"paragraph": {
13-
"text": []
13+
"rich_text": []
1414
}
1515
},
1616
{
@@ -22,7 +22,7 @@
2222
"archived": false,
2323
"type": "heading_2",
2424
"heading_2": {
25-
"text": [
25+
"rich_text": [
2626
{
2727
"type": "text",
2828
"text": {
@@ -52,7 +52,7 @@
5252
"archived": false,
5353
"type": "heading_2",
5454
"heading_2": {
55-
"text": [
55+
"rich_text": [
5656
{
5757
"type": "text",
5858
"text": {
@@ -82,7 +82,7 @@
8282
"archived": false,
8383
"type": "paragraph",
8484
"paragraph": {
85-
"text": []
85+
"rich_text": []
8686
}
8787
},
8888
{
@@ -118,7 +118,7 @@
118118
"archived": false,
119119
"type": "paragraph",
120120
"paragraph": {
121-
"text": []
121+
"rich_text": []
122122
}
123123
},
124124
{

Test/Notion.UnitTests/data/blocks/RetrieveBlockResponse.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"has_children": false,
77
"type": "to_do",
88
"to_do": {
9-
"text": [
9+
"rich_text": [
1010
{
1111
"type": "text",
1212
"text": {

Test/Notion.UnitTests/data/blocks/UpdateBlockResponse.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"has_children": false,
77
"type": "to_do",
88
"to_do": {
9-
"text": [
9+
"rich_text": [
1010
{
1111
"type": "text",
1212
"text": {

0 commit comments

Comments
 (0)