diff options
author | Jon Marius Venstad <jvenstad@yahoo-inc.com> | 2019-03-28 17:12:41 +0100 |
---|---|---|
committer | Jon Marius Venstad <jvenstad@yahoo-inc.com> | 2019-03-28 17:12:41 +0100 |
commit | 91db624768c18fc321931c7d061c2d28e8057845 (patch) | |
tree | 688a65b4cd0adf198430933e61e8d79df5d3dcc5 | |
parent | 3ee246d41a139d37ab46a4a3a445a96743b81279 (diff) |
Fix double assignment in unit test framework
-rw-r--r-- | controller-server/src/test/java/com/yahoo/vespa/hosted/controller/deployment/InternalDeploymentTester.java | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/controller-server/src/test/java/com/yahoo/vespa/hosted/controller/deployment/InternalDeploymentTester.java b/controller-server/src/test/java/com/yahoo/vespa/hosted/controller/deployment/InternalDeploymentTester.java index ecf849fc68c..ca8a2e34fdf 100644 --- a/controller-server/src/test/java/com/yahoo/vespa/hosted/controller/deployment/InternalDeploymentTester.java +++ b/controller-server/src/test/java/com/yahoo/vespa/hosted/controller/deployment/InternalDeploymentTester.java @@ -89,10 +89,7 @@ public class InternalDeploymentTester { * Submits a new application, and returns the version of the new submission. */ public ApplicationVersion newSubmission() { - ApplicationVersion version = jobs.submit(appId, BuildJob.defaultSourceRevision, "a@b", 2, applicationPackage, new byte[0]); - tester.applicationStore().put(appId, version, applicationPackage.zippedContent()); - tester.applicationStore().put(testerId, version, new byte[0]); - return version; + return jobs.submit(appId, BuildJob.defaultSourceRevision, "a@b", 2, applicationPackage, new byte[0]); } /** |