diff --git a/bt5/erp5_web_renderjs_ui_test/SkinTemplateItem/portal_skins/erp5_web_renderjs_ui_test/Foo_createHasUnauthorizedFoo.py b/bt5/erp5_web_renderjs_ui_test/SkinTemplateItem/portal_skins/erp5_web_renderjs_ui_test/Foo_createHasUnauthorizedFoo.py
index c8678df8af6d447ac731e3122758fbc8f4c2b9ce..902b5578d8bc073058d1c1d3cc080689c37c7499 100644
--- a/bt5/erp5_web_renderjs_ui_test/SkinTemplateItem/portal_skins/erp5_web_renderjs_ui_test/Foo_createHasUnauthorizedFoo.py
+++ b/bt5/erp5_web_renderjs_ui_test/SkinTemplateItem/portal_skins/erp5_web_renderjs_ui_test/Foo_createHasUnauthorizedFoo.py
@@ -2,12 +2,5 @@ foo1 = context.foo_module.newContent(portal_type='Foo')
 foo2 = context.foo_module.newContent(portal_type='Foo')
 foo1.setTitle('hasAccessUnauthorized')
 foo1.setSuccessorValue(foo2)
-
-foo1.immediateReindexObject()
-foo2.immediateReindexObject()
-
-
-
 foo2.activate().manage_permission( 'Access contents information', 'Manager', 0)
-
 return 'Done'