mirror of
https://github.com/Telecominfraproject/wlan-cloud-opensync-controller.git
synced 2025-11-03 03:57:54 +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 {
|
||||
|
||||
Mockito.when(ovsdbClient.transact(Mockito.eq(OvsdbDao.ovsdbName), Mockito.anyList())).thenReturn(futureResult);
|
||||
|
||||
Reference in New Issue
Block a user