From 13588a24699f983dd86c7d94ac54447738948b24 Mon Sep 17 00:00:00 2001 From: erickgonzalez Date: Thu, 5 Sep 2024 09:49:23 -0600 Subject: [PATCH] fix test --- .../com/dotcms/contenttype/test/ContentTypeAPIImplTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dotCMS/src/integration-test/java/com/dotcms/contenttype/test/ContentTypeAPIImplTest.java b/dotCMS/src/integration-test/java/com/dotcms/contenttype/test/ContentTypeAPIImplTest.java index b648ff428d86..23706c944a0d 100644 --- a/dotCMS/src/integration-test/java/com/dotcms/contenttype/test/ContentTypeAPIImplTest.java +++ b/dotCMS/src/integration-test/java/com/dotcms/contenttype/test/ContentTypeAPIImplTest.java @@ -85,7 +85,7 @@ public void test_copy_content_type_expected_copy_success () throws DotDataExcept fieldList.add(plot); fieldList.add(boxOffice); - contentTypeAPI.save(movieOriginal, fieldList); + movieOriginal = contentTypeAPI.save(movieOriginal, fieldList); final List fieldsRecovery = APILocator.getContentTypeFieldAPI().byContentTypeId(movieOriginal.id());