Skip to content

Commit b2950d7

Browse files
committed
Fix failing unit test
1 parent b5c1a21 commit b2950d7

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

server/src/test/java/com/cloud/configuration/ConfigurationManagerTest.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,7 @@
9595
import org.apache.cloudstack.api.command.user.network.ListNetworkOfferingsCmd;
9696
import org.apache.cloudstack.context.CallContext;
9797
import org.apache.cloudstack.engine.orchestration.service.NetworkOrchestrationService;
98+
import org.apache.cloudstack.engine.subsystem.api.storage.TemplateService;
9899
import org.apache.cloudstack.engine.subsystem.api.storage.ZoneScope;
99100
import org.apache.cloudstack.framework.config.dao.ConfigurationDao;
100101
import org.apache.cloudstack.framework.messagebus.MessageBusBase;
@@ -223,6 +224,8 @@ public class ConfigurationManagerTest {
223224
Ipv6GuestPrefixSubnetNetworkMapDao ipv6GuestPrefixSubnetNetworkMapDao;
224225
@Mock
225226
MessageBusBase messageBus;
227+
@Mock
228+
TemplateService _templateService;
226229

227230
VlanVO vlan = new VlanVO(Vlan.VlanType.VirtualNetwork, "vlantag", "vlangateway", "vlannetmask", 1L, "iprange", 1L, 1L, null, null, null);
228231

0 commit comments

Comments
 (0)