Skip to content

Commit 59f9adc

Browse files
committed
fix: corrected uid to _uid in case of variants
1 parent 6adfccf commit 59f9adc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Contentstack.Core.Tests/EntryTest.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ await sourceEntry
9999
{
100100
Assert.True(result.Uid == sourceEntry.Uid);
101101
Assert.NotNull(result._variant);
102-
Assert.NotNull(result._variant["uid"]);
102+
Assert.NotNull(result._variant["_uid"]);
103103
}
104104
});
105105
}
@@ -123,7 +123,7 @@ await sourceEntry
123123
{
124124
Assert.True(result.Uid == sourceEntry.Uid);
125125
Assert.NotNull(result._variant);
126-
Assert.NotNull(result._variant["uid"]);
126+
Assert.NotNull(result._variant["_uid"]);
127127
}
128128
});
129129
}

0 commit comments

Comments
 (0)