Skip to content
Snippets Groups Projects
Commit 747d046e authored by pkupczyk's avatar pkupczyk
Browse files

SSDM-5416 : Project Authorization - sample predicates and validators - fix unit tests

SVN: 38569
parent 50bbb431
No related branches found
No related tags found
No related merge requests found
......@@ -79,11 +79,11 @@ public class NewSamplePredicateTest extends AuthorizationTestCase
{
NewSamplePredicate predicate = new NewSamplePredicate();
SampleType sampleType = new SampleType();
SampleIdentifier sampleIdentifier =
new SampleIdentifier(new SpaceIdentifier(SPACE_CODE), "s1");
SampleIdentifier sampleIdentifier = new SampleIdentifier(new SpaceIdentifier(SPACE_CODE), "s1");
SampleIdentifier containerIdentifier = new SampleIdentifier(new SpaceIdentifier(SPACE_CODE), "container");
SampleIdentifier parentIdentifier = new SampleIdentifier(new SpaceIdentifier(SPACE_CODE), "parent");
NewSample sample =
NewSample.createWithParent(sampleIdentifier.toString(), sampleType, "container",
"parent");
NewSample.createWithParent(sampleIdentifier.toString(), sampleType, containerIdentifier.toString(), parentIdentifier.toString());
prepareProvider(createSpaces());
predicate.init(provider);
......
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