diff options
author | Ryan D. Brooks | 2016-11-02 23:56:37 +0000 |
---|---|---|
committer | David W. Miller | 2016-11-02 23:56:37 +0000 |
commit | 3ca189684635298e5caaec9ec1486fd3cbf25622 (patch) | |
tree | 14c49c3fc6f9ffc7b9fc150e8dd025bf58ecc772 /plugins/org.eclipse.osee.ats.client.integration.tests | |
parent | 334932faa52400360bce4d52e18f95d2711430db (diff) | |
download | org.eclipse.osee-3ca189684635298e5caaec9ec1486fd3cbf25622.tar.gz org.eclipse.osee-3ca189684635298e5caaec9ec1486fd3cbf25622.tar.xz org.eclipse.osee-3ca189684635298e5caaec9ec1486fd3cbf25622.zip |
refactor: Extend Attribute from AttributeId
Change-Id: I0438dada4bed0d5e71e6b7becd4654681201c71d
Diffstat (limited to 'plugins/org.eclipse.osee.ats.client.integration.tests')
-rw-r--r-- | plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/util/AtsChangeSetTest.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/util/AtsChangeSetTest.java b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/util/AtsChangeSetTest.java index 45e0149830b..1192b018cd5 100644 --- a/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/util/AtsChangeSetTest.java +++ b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/util/AtsChangeSetTest.java @@ -168,7 +168,7 @@ public class AtsChangeSetTest { public void testSetAttributeById_ArtifactId() { Attribute<?> staticIdAttr = null; for (Attribute<?> attr : folderArt.getAttributes()) { - if (attr.getAttributeType().getId().equals(CoreAttributeTypes.StaticId.getGuid())) { + if (attr.getAttributeType().equals(CoreAttributeTypes.StaticId)) { staticIdAttr = attr; break; } @@ -176,7 +176,7 @@ public class AtsChangeSetTest { Assert.assertNotNull(staticIdAttr); IAtsChangeSet changes = createAtsChangeSet(); - changes.setAttribute(folderArt, staticIdAttr.getId(), "new id"); + changes.setAttribute(folderArt, staticIdAttr, "new id"); changes.execute(); folderArt.reloadAttributesAndRelations(); |