Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRyan D. Brooks2017-04-27 18:32:34 +0000
committerMegumi Telles2017-05-03 14:07:40 +0000
commit07dbd59edb4ddab8bf27a5835be95c085df4e1fd (patch)
tree7253f410a833df3c3808dc3788ff74956c1bf741 /plugins/org.eclipse.osee.client.integration.tests
parenta2065c6f7be563f9a6a78e853c22411bcf5290f4 (diff)
downloadorg.eclipse.osee-07dbd59edb4ddab8bf27a5835be95c085df4e1fd.tar.gz
org.eclipse.osee-07dbd59edb4ddab8bf27a5835be95c085df4e1fd.tar.xz
org.eclipse.osee-07dbd59edb4ddab8bf27a5835be95c085df4e1fd.zip
refactor: Remove TokenFactory.createUserToken
Diffstat (limited to 'plugins/org.eclipse.osee.client.integration.tests')
-rw-r--r--plugins/org.eclipse.osee.client.integration.tests/src/org/eclipse/osee/client/integration/tests/integration/skynet/core/UserManagerTest.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/org.eclipse.osee.client.integration.tests/src/org/eclipse/osee/client/integration/tests/integration/skynet/core/UserManagerTest.java b/plugins/org.eclipse.osee.client.integration.tests/src/org/eclipse/osee/client/integration/tests/integration/skynet/core/UserManagerTest.java
index 5374a1cbcfb..fde73da8d83 100644
--- a/plugins/org.eclipse.osee.client.integration.tests/src/org/eclipse/osee/client/integration/tests/integration/skynet/core/UserManagerTest.java
+++ b/plugins/org.eclipse.osee.client.integration.tests/src/org/eclipse/osee/client/integration/tests/integration/skynet/core/UserManagerTest.java
@@ -17,7 +17,7 @@ import java.util.Set;
import org.eclipse.osee.client.test.framework.OseeClientIntegrationRule;
import org.eclipse.osee.client.test.framework.OseeLogMonitorRule;
import org.eclipse.osee.framework.core.data.BranchId;
-import org.eclipse.osee.framework.core.data.IUserToken;
+import org.eclipse.osee.framework.core.data.UserToken;
import org.eclipse.osee.framework.core.data.TokenFactory;
import org.eclipse.osee.framework.core.enums.CoreArtifactTypes;
import org.eclipse.osee.framework.core.enums.CoreAttributeTypes;
@@ -98,7 +98,7 @@ public final class UserManagerTest {
}
private User createUser(SkynetTransaction transaction, int index) throws OseeCoreException {
- IUserToken token = TokenFactory.createUserToken(Lib.generateArtifactIdAsInt(), GUID.create(),
+ UserToken token = UserToken.create(Lib.generateArtifactIdAsInt(), GUID.create(),
NEW_USER_NAMES[index], "this" + index + "@that.com", "9999999" + index, true, index % 2 == 0, true);
User user = UserManager.createUser(token, transaction);
user.persist(transaction);

Back to the top