use of org.candlepin.auth.TrustedUserPrincipal in project candlepin by candlepin.
the class ConsumerResourceCreationTest method registerWithNullReleaseVer.
@Test
public void registerWithNullReleaseVer() {
Principal p = new TrustedUserPrincipal("anyuser");
ConsumerDTO consumer = TestUtil.createConsumerDTO("consumername", null, null, systemDto);
consumer.setReleaseVersion(null);
resource.create(consumer, p, USER, owner.getKey(), null, true);
}
Aggregations