Skip to content
Snippets Groups Projects
Commit 79f1894a authored by tpylak's avatar tpylak
Browse files

LMS-2463 minor: fix unit tests

SVN: 22709
parent 84acef66
No related branches found
No related tags found
No related merge requests found
......@@ -52,7 +52,6 @@ import ch.systemsx.cisd.openbis.generic.shared.basic.dto.NewAttachment;
import ch.systemsx.cisd.openbis.generic.shared.basic.dto.NewDataSetsWithTypes;
import ch.systemsx.cisd.openbis.generic.shared.basic.dto.NewExperiment;
import ch.systemsx.cisd.openbis.generic.shared.basic.dto.NewExperimentsWithType;
import ch.systemsx.cisd.openbis.generic.shared.basic.dto.NewMaterial;
import ch.systemsx.cisd.openbis.generic.shared.basic.dto.NewMaterialsWithTypes;
import ch.systemsx.cisd.openbis.generic.shared.basic.dto.NewSample;
import ch.systemsx.cisd.openbis.generic.shared.basic.dto.NewSamplesWithTypes;
......@@ -213,8 +212,7 @@ public interface IGenericServer extends IServer
@Transactional
@RolesAllowed(RoleWithHierarchy.INSTANCE_ADMIN)
@DatabaseCreateOrDeleteModification(value = ObjectKind.MATERIAL)
public void registerOrUpdateMaterials(String sessionToken, String materialTypeCode,
List<NewMaterial> newMaterials) throws UserFailureException;
public void registerOrUpdateMaterials(String sessionToken, List<NewMaterialsWithTypes> materials) throws UserFailureException;
/**
* Returns attachment described by given sample identifier, filename and version.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment