accumulo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mmil...@apache.org
Subject [accumulo] branch master updated: Remove unused mock in TableConfigurationTest
Date Wed, 22 Apr 2020 18:34:32 GMT
This is an automated email from the ASF dual-hosted git repository.

mmiller pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/accumulo.git


The following commit(s) were added to refs/heads/master by this push:
     new 4927b25  Remove unused mock in TableConfigurationTest
4927b25 is described below

commit 4927b25aa312a999805fabb61aa0aa78e597c044
Author: Mike Miller <mmiller@apache.org>
AuthorDate: Wed Apr 22 14:31:08 2020 -0400

    Remove unused mock in TableConfigurationTest
---
 .../java/org/apache/accumulo/server/conf/TableConfigurationTest.java   | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/server/base/src/test/java/org/apache/accumulo/server/conf/TableConfigurationTest.java
b/server/base/src/test/java/org/apache/accumulo/server/conf/TableConfigurationTest.java
index 7f24229..6b19a18 100644
--- a/server/base/src/test/java/org/apache/accumulo/server/conf/TableConfigurationTest.java
+++ b/server/base/src/test/java/org/apache/accumulo/server/conf/TableConfigurationTest.java
@@ -58,8 +58,7 @@ public class TableConfigurationTest {
   public void setUp() {
     iid = UUID.randomUUID().toString();
     context = createMock(ServerContext.class);
-    ServerConfigurationFactory scf = createMock(ServerConfigurationFactory.class);
-    expect(context.getServerConfFactory()).andReturn(scf);
+
     expect(context.getProperties()).andReturn(new Properties()).anyTimes();
     expect(context.getInstanceID()).andReturn(iid).anyTimes();
     expect(context.getZooKeeperRoot()).andReturn("/accumulo/" + iid).anyTimes();


Mime
View raw message