From 1abd6a3bf847d96ea45a8e71f0c0112d259d2575 Mon Sep 17 00:00:00 2001
From: Trishna Saeharaseelan <trishna.saeharaseelan@noc.ac.uk>
Date: Mon, 20 Feb 2023 21:06:48 +0000
Subject: [PATCH] fix: tests

---
 formats/platform_status.py  | 4 ++--
 tests/fixtures/schemas.py   | 4 ++--
 tests/fixtures/swagger.json | 4 ++--
 3 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/formats/platform_status.py b/formats/platform_status.py
index 2ef5560..56cfd1c 100644
--- a/formats/platform_status.py
+++ b/formats/platform_status.py
@@ -86,8 +86,8 @@ platform_status_schema = {
             "type": "number",
             "format": "float",
             "description": "Target depth in metres",
-            "example": 50,
-            "default": 0,
+            "example": 50.0,
+            "default": 0.0,
         },
         "altitude": {
             "type": "number",
diff --git a/tests/fixtures/schemas.py b/tests/fixtures/schemas.py
index 64f1612..2c94dd8 100644
--- a/tests/fixtures/schemas.py
+++ b/tests/fixtures/schemas.py
@@ -493,8 +493,8 @@ platform_status_schema = {
             "type": "number",
             "format": "float",
             "description": "Target depth in metres",
-            "example": 50,
-            "default": 0,
+            "example": 50.0,
+            "default": 0.0,
         },
         "altitude": {
             "type": "number",
diff --git a/tests/fixtures/swagger.json b/tests/fixtures/swagger.json
index a864c5c..880bec8 100644
--- a/tests/fixtures/swagger.json
+++ b/tests/fixtures/swagger.json
@@ -517,9 +517,9 @@
             "type": "number"
           },
           "depth": {
-            "default": 0,
+            "default": 0.0,
             "description": "Target depth in metres",
-            "example": 50,
+            "example": 50.0,
             "format": "float",
             "type": "number"
           },
-- 
GitLab