Fix Bath config issue
[aaf/authz.git] / cadi / core / src / test / java / org / onap / aaf / cadi / principal / test / JU_BasicPrincipal.java
index dee7fc2..1fafe2e 100644 (file)
@@ -103,7 +103,7 @@ public class JU_BasicPrincipal {
                assertTrue(Math.abs(bp.created() - created) < 10);
                assertThat(bp.toString(), is(expected));
                assertThat(bp.tag(), is("BAth"));
-               assertThat(bp.personalName(), is(nullValue()));
+               assertThat(bp.personalName(), is(bp.getName()));
 
                // This test hits the abstract class BearerPrincipal
                assertThat(bp.getBearer(), is(bearer));