diff options
author | a.sreekumar <ajith.sreekumar@est.tech> | 2019-06-21 11:21:14 +0000 |
---|---|---|
committer | a.sreekumar <ajith.sreekumar@est.tech> | 2019-06-21 11:21:14 +0000 |
commit | 5be846bcdbe6e9dfa3b81e4b95de37acea18d1a2 (patch) | |
tree | 596c0caffb095e693ac63267d8f804eb0b630196 /model/basic-model/src/test/java | |
parent | 3b7b20029b7b663506b7c918f333f09dd18d6452 (diff) |
Replace uses of getCanonicalName() with getName() in APEX
Change-Id: Ifcd8866e65a7bc1238d5a4137f7bad288a5bfb3b
Issue-ID: POLICY-1861
Signed-off-by: a.sreekumar <ajith.sreekumar@est.tech>
Diffstat (limited to 'model/basic-model/src/test/java')
-rw-r--r-- | model/basic-model/src/test/java/org/onap/policy/apex/model/basicmodel/concepts/ValidationTest.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/model/basic-model/src/test/java/org/onap/policy/apex/model/basicmodel/concepts/ValidationTest.java b/model/basic-model/src/test/java/org/onap/policy/apex/model/basicmodel/concepts/ValidationTest.java index f30babe91..f2f99a811 100644 --- a/model/basic-model/src/test/java/org/onap/policy/apex/model/basicmodel/concepts/ValidationTest.java +++ b/model/basic-model/src/test/java/org/onap/policy/apex/model/basicmodel/concepts/ValidationTest.java @@ -88,7 +88,7 @@ public class ValidationTest { assertEquals(AxValidationResult.ValidationResult.INVALID, result.getMessageList().get(3).getValidationResult()); assertEquals("Some message", result.getMessageList().get(3).getMessage()); - assertEquals(AxArtifactKey.class.getCanonicalName(), result.getMessageList().get(3).getObservedClass()); + assertEquals(AxArtifactKey.class.getName(), result.getMessageList().get(3).getObservedClass()); assertEquals(AxArtifactKey.getNullKey(), result.getMessageList().get(3).getObservedKey()); } } |