Code Review
/
dmaap
/
datarouter.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
[DMAAP-DR] Fix sec hotspots
[dmaap/datarouter.git]
/
datarouter-node
/
src
/
test
/
java
/
org
/
onap
/
dmaap
/
datarouter
/
node
/
NodeConfigTest.java
diff --git
a/datarouter-node/src/test/java/org/onap/dmaap/datarouter/node/NodeConfigTest.java
b/datarouter-node/src/test/java/org/onap/dmaap/datarouter/node/NodeConfigTest.java
index
05cd0dc
..
6804ebf
100644
(file)
--- a/
datarouter-node/src/test/java/org/onap/dmaap/datarouter/node/NodeConfigTest.java
+++ b/
datarouter-node/src/test/java/org/onap/dmaap/datarouter/node/NodeConfigTest.java
@@
-239,7
+239,7
@@
public class NodeConfigTest {
@Test
public void Given_Different_Ip_Then_Is_Another_Node_Returns_True() {
Boolean isAnotherNode =
@Test
public void Given_Different_Ip_Then_Is_Another_Node_Returns_True() {
Boolean isAnotherNode =
- nodeConfig.isAnotherNode("Basic MTcyLjAuMC40O
mtCTmhkWVFvbzhXNUphZ2g4T1N4Zmp6Mzl1ND
0=", "172.0.0.4");
+ nodeConfig.isAnotherNode("Basic MTcyLjAuMC40O
jlKOEFMUEhWQ2FpZ3FnZFpMMlRMYVRKSE1QQS8wNjdjR2JhV2RaUU1XSG1MNk5KbEtBVmpPbWtoZTR6ZmVlYjJzbElNMVR0REc2b0tYb0dLSDRMa1BBPT
0=", "172.0.0.4");
Assert.assertTrue(isAnotherNode);
}
Assert.assertTrue(isAnotherNode);
}
@@
-258,6
+258,6
@@
public class NodeConfigTest {
@Test
public void Validate_Get_MyAuth_Returns_Correct_Auth() {
String auth = nodeConfig.getMyAuth();
@Test
public void Validate_Get_MyAuth_Returns_Correct_Auth() {
String auth = nodeConfig.getMyAuth();
- Assert.assertEquals("Basic TmFtZT
p6Z04wMFkyS3gybFppbXltNy94ZDhuMkdEYjA
9", auth);
+ Assert.assertEquals("Basic TmFtZT
o3YTRsQkxqMENQQ3lEbVVPaUI5Tks3b0pSeGROVUxqZzNNUHpkcEFYNHcvN09DNVR5S1hhWFA0MGR5aHhzbm90bXM4d1BGeXdHVlQ3MTJhcldXSFR1dz0
9", auth);
}
}
}
}