Merge "Renamed things to fit with namechange of RicSynchronizationTask"
[nonrtric.git] / policy-agent / src / test / java / org / oransc / policyagent / utils / MockA1Client.java
index 1151dd2..af8ecd4 100644 (file)
@@ -2,7 +2,7 @@
  * ========================LICENSE_START=================================
  * O-RAN-SC
  * %%
- * Copyright (C) 2019 Nordix Foundation
+ * Copyright (C) 2020 Nordix Foundation
  * %%
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -90,7 +90,7 @@ public class MockA1Client implements A1Client {
 
     @Override
     public Mono<A1ProtocolType> getProtocolVersion() {
-        return Mono.just(A1ProtocolType.STD_V1);
+        return Mono.just(A1ProtocolType.STD_V1_1);
     }
 
     @Override
@@ -99,4 +99,9 @@ public class MockA1Client implements A1Client {
         return Flux.empty();
     }
 
+    @Override
+    public Mono<String> getPolicyStatus(Policy policy) {
+        return Mono.just("OK");
+    }
+
 }