mirror of https://github.com/OpenVidu/openvidu.git
Integration test: Assert.fail instead of System.err
parent
b8079ce519
commit
03859f5d06
|
@ -54,7 +54,7 @@ public class IntegrationTestConfiguration {
|
||||||
try {
|
try {
|
||||||
loadManager = Whitebox.getInternalState(spy, "loadManager");
|
loadManager = Whitebox.getInternalState(spy, "loadManager");
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
System.err.println("Error getting private property from stubbed object: " + e.getMessage());
|
Assert.fail("Error getting private property from stubbed object: " + e.getMessage());
|
||||||
}
|
}
|
||||||
Kms kms = new Kms(kmsProp, loadManager, spy);
|
Kms kms = new Kms(kmsProp, loadManager, spy);
|
||||||
KurentoClient kClient = mock(KurentoClient.class);
|
KurentoClient kClient = mock(KurentoClient.class);
|
||||||
|
|
Loading…
Reference in New Issue