From fbcab59f539b848842b210fd6991885063a0d895 Mon Sep 17 00:00:00 2001 From: Stefan Seifert Date: Fri, 30 Jun 2023 16:01:17 +0200 Subject: [PATCH] AppAemContext: Pass through resourceResolverType parameter to AemContextBuilder --- .../core/src/test/java/core/testcontext/AppAemContext.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/archetype/core/src/test/java/core/testcontext/AppAemContext.java b/src/main/archetype/core/src/test/java/core/testcontext/AppAemContext.java index b721b81c8..4396776f8 100644 --- a/src/main/archetype/core/src/test/java/core/testcontext/AppAemContext.java +++ b/src/main/archetype/core/src/test/java/core/testcontext/AppAemContext.java @@ -48,10 +48,11 @@ public static AemContextBuilder newAemContextBuilder() { } /** + * @param resourceResolverType Resource resolver type * @return {@link AemContextBuilder} */ public static AemContextBuilder newAemContextBuilder(ResourceResolverType resourceResolverType) { - return new AemContextBuilder() + return new AemContextBuilder(resourceResolverType) .plugin(CACONFIG) .plugin(CORE_COMPONENTS) .afterSetUp(SETUP_CALLBACK);