mirror of
https://github.com/Telecominfraproject/wlan-cloud-opensync-controller.git
synced 2025-11-20 11:54:58 +00:00
Fix JUnit, add expectation of thrown RuntimeException for new connectionInfoFail case
This commit is contained in:
@@ -196,7 +196,7 @@ public class OvsdbDaoTest {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test(expected = RuntimeException.class)
|
||||||
public void testFailGetConnectNodeInfo() throws Exception {
|
public void testFailGetConnectNodeInfo() throws Exception {
|
||||||
|
|
||||||
Mockito.when(ovsdbClient.transact(Mockito.eq(OvsdbDao.ovsdbName), Mockito.anyList())).thenReturn(futureResult);
|
Mockito.when(ovsdbClient.transact(Mockito.eq(OvsdbDao.ovsdbName), Mockito.anyList())).thenReturn(futureResult);
|
||||||
|
|||||||
Reference in New Issue
Block a user