diff --git a/integrationtests/test_realworld_example.py b/integrationtests/test_realworld_example.py
index c40a3c2403d5e4d81648fe964f6ae3d9f427ff47..d72edf63871c1a602192a615403338096fdefaec 100644
--- a/integrationtests/test_realworld_example.py
+++ b/integrationtests/test_realworld_example.py
@@ -126,7 +126,7 @@ def test_dataset(
 
 
 @pytest.mark.xfail(
-    "Reference properties are not updated correctly. "
+    reason="Reference properties are not updated correctly. "
     "See https://gitlab.indiscale.com/caosdb/src/caosdb-crawler/-/issues/12."
 )
 def test_event_update(usemodel):