Skip to content

Commit 94ee342

Browse files
author
Fabricio Duarte
committed
Remove unnecessary stubbings
1 parent 1eea281 commit 94ee342

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

server/src/test/java/com/cloud/agent/manager/allocator/impl/FirstFitAllocatorTest.java

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -118,11 +118,7 @@ public class FirstFitAllocatorTest {
118118
@Before
119119
public void setUp() {
120120
Mockito.when(deploymentPlan.getDataCenterId()).thenReturn(1L);
121-
Mockito.when(offering.getCpu()).thenReturn(2);
122-
Mockito.when(offering.getSpeed()).thenReturn(1000);
123-
Mockito.when(offering.getRamSize()).thenReturn(2048);
124121
Mockito.when(offering.getId()).thenReturn(123L);
125-
Mockito.when(offering.getHostTag()).thenReturn(null);
126122
}
127123

128124
@Test

0 commit comments

Comments
 (0)