https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=35761

--- Comment #57 from Tomás Cohen Arazi (tcohen) <[email protected]> ---
Confirmed:

```shell
kohadev-koha@kohadevbox:koha(qa_39190)$ git diff
diff --git a/api/v1/swagger/paths/test_sftp_servers.yaml
b/api/v1/swagger/paths/test_sftp_servers.yaml
index 3fab229fc28..77c0ae46eb6 100644
--- a/api/v1/swagger/paths/test_sftp_servers.yaml
+++ b/api/v1/swagger/paths/test_sftp_servers.yaml
@@ -14,9 +14,7 @@
       "200":
         description: Results of FTP/SFTP server test
         schema:
-          type: object
-          items:
-            $ref: "../swagger.yaml#/definitions/sftp_server"
+          $ref: "../swagger.yaml#/definitions/sftp_server"
       "400":
         description: |
           Bad request. Possible `error_code` attribute values:
@@ -45,4 +43,4 @@
           $ref: "../swagger.yaml#/definitions/error"
     x-koha-authorization:
       permissions:
-        parameters: manage_sftp_servers
\ No newline at end of file
+        parameters: manage_sftp_servers
kohadev-koha@kohadevbox:koha(qa_39190)$ prove
t/db_dependent/api/v1/sftp_servers.t
t/db_dependent/api/v1/sftp_servers.t .. 4/6
    #   Failed test 'SWAGGER3.2.4'
    #   at t/db_dependent/api/v1/sftp_servers.t line 436.
    #          got: '500'
    #     expected: '200'

    #   Failed test 'SWAGGER3.3.4'
    #   at t/db_dependent/api/v1/sftp_servers.t line 436.
    #          got: '{"errors":[{"message":"Properties not allowed:
1_ftp_conn.","path":"\/body"}],"status":500}'
    #     expected: '{"1_ftp_conn":{"err":"cannot connect to
V7OE4H7DT3dp0w0VmBxVIPF3sOf2dLpT6Js0yHDydBmb4: Name or service not
known","msg":null,"passed":false}}'
    # Looks like you failed 2 tests of 5.

#   Failed test 'test() tests'
#   at t/db_dependent/api/v1/sftp_servers.t line 443.
# Looks like you failed 1 test of 6.
t/db_dependent/api/v1/sftp_servers.t .. Dubious, test returned 1 (wstat 256,
0x100)
Failed 1/6 subtests

Test Summary Report
-------------------
t/db_dependent/api/v1/sftp_servers.t (Wstat: 256 (exited 1) Tests: 6 Failed: 1)
  Failed test:  6
  Non-zero exit status: 1
Files=1, Tests=6,  4 wallclock secs ( 0.02 usr  0.01 sys +  3.50 cusr  0.75
csys =  4.28 CPU)
Result: FAIL
```

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to