X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=policy-agent%2Fsrc%2Ftest%2Fjava%2Forg%2Foransc%2Fpolicyagent%2Fclients%2FA1ClientFactoryTest.java;h=7162478b9848961b24e70b779b695dc2c1a81563;hb=336d24471b994ebe62828d5327e116f766bbfc85;hp=b42cebfa8ef475c0497f1c5974ed4fe4468f4dee;hpb=063e00d7a9f1f56c8b0714602fcaecb3c4eac951;p=nonrtric.git diff --git a/policy-agent/src/test/java/org/oransc/policyagent/clients/A1ClientFactoryTest.java b/policy-agent/src/test/java/org/oransc/policyagent/clients/A1ClientFactoryTest.java index b42cebfa..7162478b 100644 --- a/policy-agent/src/test/java/org/oransc/policyagent/clients/A1ClientFactoryTest.java +++ b/policy-agent/src/test/java/org/oransc/policyagent/clients/A1ClientFactoryTest.java @@ -130,7 +130,7 @@ public class A1ClientFactoryTest { .expectNext(sdnrOnapA1ClientMock) // .verifyComplete(); - assertEquals(A1ProtocolType.SDNR_ONAP, ric.getProtocolVersion(), "Not correct protocol"); + assertEquals(A1ProtocolType.SDNC_ONAP, ric.getProtocolVersion(), "Not correct protocol"); } @Test @@ -180,7 +180,7 @@ public class A1ClientFactoryTest { private void whenGetProtocolVersionSdnrOnapA1ClientReturnCorrectProtocol() { doReturn(sdnrOnapA1ClientMock).when(factoryUnderTest).createSdnrOnapA1Client(any(Ric.class)); - when(sdnrOnapA1ClientMock.getProtocolVersion()).thenReturn(Mono.just(A1ProtocolType.SDNR_ONAP)); + when(sdnrOnapA1ClientMock.getProtocolVersion()).thenReturn(Mono.just(A1ProtocolType.SDNC_ONAP)); } private void whenGetProtocolVersionSdncOscA1ClientThrowException() {