From d0a1ee867906ac8e8b04c472508c7d4f25046c64 Mon Sep 17 00:00:00 2001
From: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Date: Fri, 14 Feb 2025 15:02:54 +0000
Subject: [PATCH] Bug 39190: Update api tests for status format change

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
---
 t/db_dependent/api/v1/sftp_servers.t | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/t/db_dependent/api/v1/sftp_servers.t b/t/db_dependent/api/v1/sftp_servers.t
index af26c9ca2fc..4796a6afe16 100755
--- a/t/db_dependent/api/v1/sftp_servers.t
+++ b/t/db_dependent/api/v1/sftp_servers.t
@@ -70,6 +70,7 @@ subtest 'list() tests' => sub {
             value => {
                 password => undef,
                 key_file => undef,
+                status   => undef,
             },
         }
     );
@@ -83,6 +84,7 @@ subtest 'list() tests' => sub {
             value => {
                 password => undef,
                 key_file => undef,
+                status   => undef,
             },
         }
     );
@@ -109,6 +111,7 @@ subtest 'get() tests' => sub {
             value => {
                 password => undef,
                 key_file => undef,
+                status   => undef,
             },
         }
     );
@@ -143,6 +146,7 @@ subtest 'get() tests' => sub {
             value => {
                 password => undef,
                 key_file => undef,
+                status   => undef,
             },
         }
     );
@@ -189,6 +193,7 @@ subtest 'add() tests' => sub {
             value => {
                 password => undef,
                 key_file => undef,
+                status   => undef,
             },
         }
     );
@@ -275,6 +280,7 @@ subtest 'update() tests' => sub {
             value => {
                 password => undef,
                 key_file => undef,
+                status   => undef,
             },
         }
     )->id;
@@ -326,6 +332,7 @@ subtest 'update() tests' => sub {
             value => {
                 password => undef,
                 key_file => undef,
+                status   => undef,
             },
         }
     );
@@ -378,6 +385,7 @@ subtest 'delete() tests' => sub {
             value => {
                 password => undef,
                 key_file => undef,
+                status   => undef,
             },
         }
     )->id;
@@ -425,6 +433,7 @@ subtest 'test() tests' => sub {
             value => {
                 password => undef,
                 key_file => undef,
+                status   => undef,
             },
         }
     );
-- 
2.49.0