spec/util_datamapper_spec.lua
changeset 11492 332c9291f4d5
parent 11491 b104c10ffce7
child 11498 284c822d4c3d
--- a/spec/util_datamapper_spec.lua	Fri Mar 26 12:53:29 2021 +0100
+++ b/spec/util_datamapper_spec.lua	Fri Mar 26 13:01:16 2021 +0100
@@ -54,7 +54,7 @@
 					type = "object";
 					xml = {namespace = "urn:xmpp:reactions:0"; name = "reactions"};
 					properties = {
-						to = attr();
+						to = {type = "string"; xml = {attribute = true; name = "id"}};
 						reactions = {type = "array"; items = {type = "string"; xml = {name = "reaction"}}};
 					};
 				};