Skip to content
Snippets Groups Projects
Commit e5fcd1ef authored by kaloyane's avatar kaloyane
Browse files

[LMS-2285] minor test improvement

SVN: 21513
parent c22c764d
No related branches found
No related tags found
No related merge requests found
......@@ -533,7 +533,6 @@ public class JythonTopLevelDataSetRegistratorTest extends AbstractFileSystemTest
context.assertIsSatisfied();
}
// TODO KE: make me work !
@Test
public void testTransactionWithDataSetUpdate()
{
......@@ -600,6 +599,8 @@ public class JythonTopLevelDataSetRegistratorTest extends AbstractFileSystemTest
new PropertyBuilder("newProp").value("newValue").getProperty();
assertEquals(Arrays.asList(propertyChanged).toString(), dataSetUpdate.getProperties()
.toString());
assertEquals(EXPERIMENT_IDENTIFIER, dataSetUpdate.getExperimentIdentifierOrNull()
.toString());
File datasetLocation =
DatasetLocationUtil.getDatasetLocationPath(workingDirectory, DATA_SET_CODE,
......
......@@ -12,4 +12,5 @@ newContents = list(container.containedDataSetCodes)
newContents.append(dataSet.dataSetCode)
container.setContainedDataSetCodes(newContents)
container.setPropertyValue("newProp", "newValue")
container.setExperiment(experiment)
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