From c5c37b9069552d8fea70de0e2f91b17008e0d053 Mon Sep 17 00:00:00 2001 From: Teemu Erkkola Date: Mon, 19 Feb 2024 13:03:14 +0200 Subject: [PATCH] LIKA-393: Fix test --- ckanext/xroad_integration/tests/test_plugin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ckanext/xroad_integration/tests/test_plugin.py b/ckanext/xroad_integration/tests/test_plugin.py index 7d36d08..3a4b137 100644 --- a/ckanext/xroad_integration/tests/test_plugin.py +++ b/ckanext/xroad_integration/tests/test_plugin.py @@ -494,4 +494,4 @@ def test_getrest(xroad_rest_adapter_mocks, xroad_rest_mocks): rest_service = next(s for s in subsystem.get('resources', []) if s['xroad_servicecode'] == 'restService') assert {'method': 'POST', 'path': '/PostSomething/v1'} in rest_service['rest_endpoints']['endpoints'] assert {'method': 'GET', 'path': '/ComeGetSome/v1'} in rest_service['rest_endpoints']['endpoints'] - assert rest_service.get('format') == 'OPENAPI-JSON' + assert rest_service.get('format') == 'REST'