Fix master blueprint generator Unit Tests 60/113160/2
authorTomasz Wrobel <tomasz.wrobel@nokia.com>
Fri, 25 Sep 2020 09:03:56 +0000 (11:03 +0200)
committerTomasz Wr�bel <tomasz.wrobel@nokia.com>
Fri, 25 Sep 2020 09:11:06 +0000 (09:11 +0000)
Issue-ID: DCAEGEN2-2449
Signed-off-by: Tomasz Wrobel <tomasz.wrobel@nokia.com>
Change-Id: I148e0c1ac8d7775ec038caa0fe2fd97240fbdf83

mod/bpgenerator/src/test/java/org/onap/blueprintgenerator/models/dmaapbp/DmaapNodeTest.java

index 684657c..d117cd5 100644 (file)
@@ -181,7 +181,7 @@ public class DmaapNodeTest {
 
     private ComponentSpec getSpiedComponentSpecWithoutRelationships() {
         ComponentSpec baseComponentSpec = new ComponentSpec();
-        baseComponentSpec.createComponentSpecFromString(new TestComponentSpec().getCs());
+        baseComponentSpec.createComponentSpecFromString(new TestComponentSpec().getComponentSpecAsString());
         ComponentSpec componentSpec = spy(baseComponentSpec);
 
         Streams streams = new Streams();