Browse Source

update JsonRpcMockProxy

Melon 1 year ago
parent
commit
b9917cdea7
2 changed files with 10 additions and 8 deletions
  1. 8 6
      lib/mock/mock.dart
  2. 2 2
      pubspec.lock

+ 8 - 6
lib/mock/mock.dart

@@ -10,22 +10,24 @@ class JsonRpcMockProxy extends JsonRpcProxy {
   JsonRpcMockProxy({String? host}) : super(host: host);
 
   @override
-  VitalLabelService get label => LabelServiceMock(currentHostAddress);
+  VitalLabelService get vitalLabel => LabelServiceMock(currentHostAddress);
 
   @override
-  VitalPatientService get patient => PatientServiceMock(currentHostAddress);
+  VitalPatientService get vitalPatient =>
+      PatientServiceMock(currentHostAddress);
 
   @override
-  VitalPatientExtensionService get patientExtension =>
+  VitalPatientExtensionService get vitalPatientExtension =>
       PatientExtensionServiceMock(currentHostAddress);
 
   @override
-  VitalDiagnosisService get diagnosis =>
+  VitalDiagnosisService get vitalDiagnosis =>
       DiagnosisServiceMock(currentHostAddress);
 
   @override
-  VitalFollowUpService get followUp => FollowUpServiceMock(currentHostAddress);
+  VitalFollowUpService get vitalFollowUp =>
+      FollowUpServiceMock(currentHostAddress);
 
   @override
-  VitalExamService get exam => ExamServiceMock(currentHostAddress);
+  VitalExamService get vitalExam => ExamServiceMock(currentHostAddress);
 }

+ 2 - 2
pubspec.lock

@@ -367,8 +367,8 @@ packages:
     dependency: "direct main"
     description:
       path: "."
-      ref: f9b819a
-      resolved-ref: f9b819a245305e27de0e086eb1c1b4d3e5909c8f
+      ref: "1ebb280"
+      resolved-ref: "1ebb280afc1cdef6736639258d9caf617d4e0105"
       url: "http://git.ius.plus:88/Project-Wing/fis_lib_jsonrpc.git"
     source: git
     version: "0.0.1"