This is an automated email from the ASF dual-hosted git repository.

cziegeler pushed a commit to branch master
in repository 
https://gitbox.apache.org/repos/asf/sling-org-apache-sling-installer-core.git


The following commit(s) were added to refs/heads/master by this push:
     new a523b93  SLING-7787 : Support official JSON format for configurations
a523b93 is described below

commit a523b9361b2b7405ca9fdcabb5da940cfb124960
Author: Carsten Ziegeler <[email protected]>
AuthorDate: Fri Aug 10 16:23:17 2018 +0200

    SLING-7787 : Support official JSON format for configurations
---
 .../org/apache/sling/installer/core/impl/InternalResourceTest.java    | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git 
a/src/test/java/org/apache/sling/installer/core/impl/InternalResourceTest.java 
b/src/test/java/org/apache/sling/installer/core/impl/InternalResourceTest.java
index 8120a47..a7f80e3 100644
--- 
a/src/test/java/org/apache/sling/installer/core/impl/InternalResourceTest.java
+++ 
b/src/test/java/org/apache/sling/installer/core/impl/InternalResourceTest.java
@@ -98,10 +98,10 @@ public class InternalResourceTest {
             "}";
         final InstallableResource rsrc = new 
InstallableResource("my.config.json",
                 new ByteArrayInputStream(JSONConfig.getBytes("UTF-8")), null, 
"digest",
-                InstallableResource.TYPE_FILE, null);
+                null, null);
 
         final InternalResource ir = InternalResource.create(SCHEME, rsrc);
-        assertEquals(InstallableResource.TYPE_FILE, ir.getType());
+        assertEquals(InstallableResource.TYPE_PROPERTIES, ir.getType());
         assertNull(ir.getInputStream());
         assertNotNull(ir.getDictionary());
         assertEquals(3, ir.getDictionary().size());

Reply via email to