diff --git a/afs/afs-core/src/test/java/com/powsybl/afs/ProjectTest.java b/afs/afs-core/src/test/java/com/powsybl/afs/ProjectTest.java index bdef272f6af..f472bece488 100644 --- a/afs/afs-core/src/test/java/com/powsybl/afs/ProjectTest.java +++ b/afs/afs-core/src/test/java/com/powsybl/afs/ProjectTest.java @@ -8,10 +8,7 @@ package com.powsybl.afs; import com.powsybl.afs.mapdb.storage.MapDbAppStorage; -import com.powsybl.afs.storage.AppStorage; -import com.powsybl.afs.storage.DefaultListenableAppStorage; -import com.powsybl.afs.storage.NodeGenericMetadata; -import com.powsybl.afs.storage.NodeInfo; +import com.powsybl.afs.storage.*; import com.powsybl.computation.ComputationManager; import org.junit.After; import org.junit.Before; @@ -43,7 +40,7 @@ public void setup() { public void createProjectFolderTest() throws IOException { Project project = afs.getRootFolder().createProject("test"); NodeInfo info = storage.createNode(project.getId(), "test", FOLDER_PSEUDO_CLASS, "d", 0, - new NodeGenericMetadata().setString("k", "v")); + new NodeGenericMetadata().setString("k", "v"), new NodeAccessRights()); ProjectFolder projectFolder = project.createProjectFolder(info); assertNotNull(projectFolder); assertEquals("d", projectFolder.getDescription());