Skip to content
Snippets Groups Projects
Commit 54cfffc7 authored by buczekp's avatar buczekp
Browse files

[LMS-1772] fixed tests expectations

SVN: 18650
parent 89c66241
No related branches found
No related tags found
No related merge requests found
......@@ -426,6 +426,7 @@ public abstract class CinaBundleRegistrationTest extends AbstractFileSystemTestC
// Create the Grid Prep
one(openbisService).registerSample(with(new BaseMatcher<NewSample>()
{
@SuppressWarnings("deprecation")
public boolean matches(Object item)
{
if (item instanceof NewSample)
......@@ -434,7 +435,7 @@ public abstract class CinaBundleRegistrationTest extends AbstractFileSystemTestC
assertEquals(GRID_SAMPLE_IDENTIFIER, newSample.getIdentifier());
assertEquals(EXPERIMENT_IDENTIFIER.toString(),
newSample.getExperimentIdentifier());
assertEquals(null, newSample.getParentsOrNull());
assertEquals(null, newSample.getParentIdentifier());
return true;
}
return false;
......
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