Skip to content

Commit 73c01bc

Browse files
author
Med Kamal
committed
fixing test cases
1 parent 0aaf648 commit 73c01bc

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

ravendb/tests/jvm_migrated_tests/client_tests/documents_tests/commands_tests/test_put_document_command.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ def test_can_put_document_using_command(self):
3939

4040
# @unittest.skip("todo: Not passing on CI/CD")
4141
def test_can_put_document_using_command_with_surrogate_pairs(self):
42-
name_with_emojis = "Gracjan \\ud83d\\ude21\\ud83d\\ude21\\ud83e\\udd2c\\ud83d\\ude00😡😡🤬😀"
42+
name_with_emojis = "Gracjan 😡😡🤬😀"
4343

4444
user = User(name=name_with_emojis, age=31)
4545
node = Utils.entity_to_dict(user, self.store.conventions.json_default_method)
@@ -71,5 +71,5 @@ def test_can_put_document_using_command_with_utf_8_chars(self):
7171
self.assertIsNotNone(result.change_vector)
7272

7373
with self.store.open_session() as session:
74-
loaded_user = session.load("articles/1", Article)
75-
self.assertEqual(loaded_user.name, title_with_emojis)
74+
loaded_article = session.load("articles/1", Article)
75+
self.assertEqual(loaded_article.title, title_with_emojis)

0 commit comments

Comments
 (0)